mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add a description of the return value that was missing [ci skip]
This commit is contained in:
parent
d463b24f15
commit
75d96ac831
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ person.changed? # => false
|
|||
person.first_name = "First Name"
|
||||
person.first_name # => "First Name"
|
||||
|
||||
# returns if any attribute has changed.
|
||||
# returns true if any of the attributes have unsaved changes, false otherwise.
|
||||
person.changed? # => true
|
||||
|
||||
# returns a list of attributes that have changed before saving.
|
||||
|
|
Loading…
Reference in a new issue