Module: CachedAt::AssociationExtension
- Defined in:
- lib/cached_at/association_extension.rb
Class Method Summary collapse
Class Method Details
.build(model, reflection) ⇒ Object
4 5 6 |
# File 'lib/cached_at/association_extension.rb', line 4 def self.build(model, reflection) return unless reflection.[:cached_at] end |
.valid_options ⇒ Object
8 9 10 |
# File 'lib/cached_at/association_extension.rb', line 8 def self. [:cached_at] end |