changed?()
Instance Public methods
Returns true
if any attribute have unsaved changes,
false
otherwise.
person.changed? # => false person.name = 'bob' person.changed? # => true
Returns true
if any attribute have unsaved changes,
false
otherwise.
person.changed? # => false person.name = 'bob' person.changed? # => true
Please login to continue.