Commit 4064acf8da8c642a37d5fb4cc03fc94f98e8fbbd

Authored by AntonioTerceiro
1 parent 16601d45

ActionItem93: profile is not taggable anymore



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1047 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 0 additions and 7 deletions   Show diff stats
app/models/profile.rb
@@ -35,8 +35,6 @@ class Profile < ActiveRecord::Base @@ -35,8 +35,6 @@ class Profile < ActiveRecord::Base
35 tag 35 tag
36 ] 36 ]
37 37
38 - acts_as_taggable  
39 -  
40 belongs_to :user 38 belongs_to :user
41 39
42 has_many :domains, :as => :owner 40 has_many :domains, :as => :owner
@@ -81,11 +79,6 @@ class Profile < ActiveRecord::Base @@ -81,11 +79,6 @@ class Profile < ActiveRecord::Base
81 self.environment ||= Environment.default 79 self.environment ||= Environment.default
82 end 80 end
83 81
84 - # Searches tags by tag or name  
85 - def self.search(term)  
86 - find_tagged_with(term) + find_all_by_name(term)  
87 - end  
88 -  
89 # Returns information about the profile's owner that was made public by 82 # Returns information about the profile's owner that was made public by
90 # him/her. 83 # him/her.
91 # 84 #