Default counter_cache to count all impressions
This commit is contained in:
parent
800c24ec64
commit
dd6779946d
|
@ -8,7 +8,7 @@ module Impressionist
|
|||
DEFAULT_CACHE ||= {
|
||||
:counter_cache => false,
|
||||
:column_name => :impressions_count,
|
||||
:unique => false
|
||||
:unique => :all
|
||||
}
|
||||
|
||||
def impressionist_counter_cache_options
|
||||
|
|
Loading…
Reference in New Issue