Class: ActiveRecordExtensions::DetachedCounterCache::DetachedCounterCachePlaceholder
- Inherits:
-
Object
- Object
- ActiveRecordExtensions::DetachedCounterCache::DetachedCounterCachePlaceholder
- Defined in:
- lib/detached_counter_cache.rb
Instance Attribute Summary collapse
-
#reflection ⇒ Object
Returns the value of attribute reflection.
Instance Method Summary collapse
Instance Attribute Details
#reflection ⇒ Object
Returns the value of attribute reflection.
82 83 84 |
# File 'lib/detached_counter_cache.rb', line 82 def reflection @reflection end |
Instance Method Details
#detached_counter_cache_table_name ⇒ Object
84 85 86 |
# File 'lib/detached_counter_cache.rb', line 84 def detached_counter_cache_table_name [reflection.klass.table_name, reflection.active_record.table_name, 'counts'].join('_') end |