app/models/impressionist/impressionable.rb in impressionist-1.5.2 vs app/models/impressionist/impressionable.rb in impressionist-1.6.0

- old
+ new

@@ -6,10 +6,10 @@ attr_accessor :impressionist_cache_options DEFAULT_CACHE ||= { :counter_cache => false, :column_name => :impressions_count, - :unique => false + :unique => :all } def impressionist_counter_cache_options @impressionist_cache_options ||= {} @impressionist_cache_options.reverse_merge!(DEFAULT_CACHE)