Method: ActiveModel::AttributeSet#reset
- Defined in:
- activemodel/lib/active_model/attribute_set.rb
#reset(key) ⇒ Object
87 88 89 90 91 |
# File 'activemodel/lib/active_model/attribute_set.rb', line 87 def reset(key) if key?(key) write_from_database(key, nil) end end |