Module: ValidatesTimeliness::ORM::ActiveModel
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/validates_timeliness/orm/active_model.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#_clear_timeliness_cache ⇒ Object
65 66 67 |
# File 'lib/validates_timeliness/orm/active_model.rb', line 65 def _clear_timeliness_cache @timeliness_cache = {} end |
#read_timeliness_attribute_before_type_cast(attr_name) ⇒ Object
61 62 63 |
# File 'lib/validates_timeliness/orm/active_model.rb', line 61 def read_timeliness_attribute_before_type_cast(attr_name) @timeliness_cache && @timeliness_cache[attr_name] || @attributes[attr_name] end |