From ab500084e6bfa440b1a8668fa64ab4d36eb654ee Mon Sep 17 00:00:00 2001 From: Toks Date: Sat, 12 Jul 2014 18:44:09 -0400 Subject: [PATCH] fixes #1936 --- app/models/pool.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/pool.rb b/app/models/pool.rb index 332f29a64..bc08866d0 100644 --- a/app/models/pool.rb +++ b/app/models/pool.rb @@ -276,6 +276,8 @@ class Pool < ActiveRecord::Base post.remove_pool!(self, true) end + normalize_post_ids + clear_post_id_array self.post_count = post_id_array.size save end