mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rephrased Dirty#changed? docs
This commit is contained in:
parent
4554983ab1
commit
c4b494bdc4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module ActiveModel
|
|||
attribute_method_affix :prefix => 'reset_', :suffix => '!'
|
||||
end
|
||||
|
||||
# Do any attributes have unsaved changes?
|
||||
# Returns true if any attribute have unsaved changes, false otherwise.
|
||||
# person.changed? # => false
|
||||
# person.name = 'bob'
|
||||
# person.changed? # => true
|
||||
|
|
Loading…
Reference in a new issue