module CounterCulture::SkipUpdates
Private Instance Methods
_update_counts_after_create()
click to toggle source
called by after_create callback
Calls superclass method
# File lib/counter_culture/skip_updates.rb, line 6 def _update_counts_after_create unless Array(Thread.current[:skip_counter_culture_updates]).include?(self.class) super end end
_update_counts_after_destroy()
click to toggle source
called by after_destroy callback
Calls superclass method
# File lib/counter_culture/skip_updates.rb, line 13 def _update_counts_after_destroy unless Array(Thread.current[:skip_counter_culture_updates]).include?(self.class) super end end
_update_counts_after_update()
click to toggle source
called by after_update callback
Calls superclass method
# File lib/counter_culture/skip_updates.rb, line 20 def _update_counts_after_update unless Array(Thread.current[:skip_counter_culture_updates]).include?(self.class) super end end