Default counter_cache to count all impressions

This commit is contained in:
jgrau 2017-05-10 22:02:45 +02:00
parent 800c24ec64
commit dd6779946d
No known key found for this signature in database
GPG Key ID: 701FB978EB0E2A61
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module Impressionist
DEFAULT_CACHE ||= {
:counter_cache => false,
:column_name => :impressions_count,
:unique => false
:unique => :all
}
def impressionist_counter_cache_options