This commit is contained in:
r888888888
2013-05-24 13:24:45 -07:00
parent ae84c5af3a
commit 560aad8a2d

View File

@@ -96,7 +96,7 @@ class Pool < ActiveRecord::Base
end
def self.normalize_post_ids(post_ids)
post_ids.scan(/\d+/).join(" ")
post_ids.scan(/\d+/).uniq.join(" ")
end
def self.find_by_name(name)