fixes
This commit is contained in:
@@ -586,7 +586,7 @@ class Post < ActiveRecord::Base
|
||||
def pools
|
||||
@pools ||= begin
|
||||
pool_ids = pool_string.scan(/\d+/)
|
||||
Pool.where(["id in (?)", pool_ids])
|
||||
Pool.where(["is_active = true and id in (?)", pool_ids])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user