Commit 91ee3f35 by Akira Matsuda

instance variable @_disable_counter_cache not initialized

parent c1232a37
...@@ -174,7 +174,7 @@ module Paranoia ...@@ -174,7 +174,7 @@ module Paranoia
private private
def each_counter_cached_associations def each_counter_cached_associations
!@_disable_counter_cache && defined?(super) ? super : [] !(defined?(@_disable_counter_cache) && @_disable_counter_cache) && defined?(super) ? super : []
end end
def paranoia_restore_attributes def paranoia_restore_attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment