Module: TinyCache::ActiveRecord::Base
- Defined in:
- lib/tiny_cache/active_record/base.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/tiny_cache/active_record/base.rb', line 6 def self.included base base.class_eval do include ::ActiveSupport::Concern extend ClassMethods include InstanceMethods class << self alias_method_chain :update_counters, :tiny_cache end end end |