Skip to content

Commit

Permalink
Fix association name on cache expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
elzj committed Sep 1, 2014
1 parent 35cba43 commit 6c1c641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/work.rb
Expand Up @@ -261,7 +261,7 @@ def self.successful_reindex(ids)
group(:filter_id).
value_of(:filter_id)

collection_ids = CollectionItem.where(collectible_id: ids, collectible_type: 'Work').
collection_ids = CollectionItem.where(item_id: ids, item_type: 'Work').
group(:collection_id).
value_of(:collection_id)

Expand Down

0 comments on commit 6c1c641

Please sign in to comment.