Module: ActiveRecord::CounterCache
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Defined in: | activerecord/lib/active_record/counter_cache.rb |
Class Method Summary
::ActiveSupport::Concern
- Extended
class_methods | Define class methods from given block. |
included | Evaluate given block in context of base class, so that you can write class macros here. |
prepended | Evaluate given block in context of base class, so that you can write class macros here. |
DSL Calls
included
[ GitHub ]8 9 10 11
# File 'activerecord/lib/active_record/counter_cache.rb', line 8
included do class_attribute :_counter_cache_columns, instance_accessor: false, default: [] class_attribute :counter_cached_association_names, instance_writer: false, default: [] end