remove unused method
This commit is contained in:
parent
c3a30bb481
commit
2dfb9f9618
1 changed files with 0 additions and 8 deletions
|
|
@ -168,14 +168,6 @@ class Person < ActiveRecord::Base
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.from_post_comment_hash(hash)
|
|
||||||
person_ids = hash.values.flatten.map!{|c| c.person_id}.uniq
|
|
||||||
people = where(:id => person_ids)
|
|
||||||
people_hash = {}
|
|
||||||
people.each{|p| people_hash[p.id] = p}
|
|
||||||
people_hash
|
|
||||||
end
|
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def clean_url
|
def clean_url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue