From 560aad8a2d667fc07ef982c086d7f12dab0cb04c Mon Sep 17 00:00:00 2001 From: r888888888 Date: Fri, 24 May 2013 13:24:45 -0700 Subject: [PATCH] fixes #1635 --- app/models/pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pool.rb b/app/models/pool.rb index 2fc12ba5d..42537c02c 100644 --- a/app/models/pool.rb +++ b/app/models/pool.rb @@ -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)