Method: ActiveRecord::AttributeMethods::Dirty#changed_attribute_names_to_save
- Defined in:
- lib/active_record/attribute_methods/dirty.rb
#changed_attribute_names_to_save ⇒ Object
Returns an array of the names of any attributes that will change when the record is next saved.
181 182 183 |
# File 'lib/active_record/attribute_methods/dirty.rb', line 181 def changed_attribute_names_to_save mutations_from_database.changed_attribute_names end |