changed()
public
Returns an array with the name of the attributes with unsaved changes.
person.changed
person.name = 'bob'
person.changed
# File activemodel/lib/active_model/dirty.rb, line 288
def changed
mutations_from_database.changed_attribute_names
end