From 2dfb9f961833110b10d397dced670c7248be4570 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 28 Jan 2011 15:17:42 -0800 Subject: [PATCH] remove unused method --- app/models/person.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/models/person.rb b/app/models/person.rb index 98c9fc627..427148a6f 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -168,14 +168,6 @@ class Person < ActiveRecord::Base } 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 def clean_url