Module: KB::Findable
- Extended by:
- ActiveSupport::Concern
- Included in:
- Assessment, Pet, PetContract, PetParent, Product
- Defined in:
- lib/kb/models/concerns/findable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#reload ⇒ Object
19 20 21 22 23 |
# File 'lib/kb/models/concerns/findable.rb', line 19 def reload self.class.clear_cache_for(key) self.attributes = self.class.find(key).attributes self end |