Skip to content

Commit 43dd118

Browse files
committed
Merge pull request rails#21475 from y-yagi/add_description_of_return_value
add a description of the return value that was missing [ci skip]
2 parents d463b24 + 75d96ac commit 43dd118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_model_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ person.changed? # => false
156156
person.first_name = "First Name"
157157
person.first_name # => "First Name"
158158

159-
# returns if any attribute has changed.
159+
# returns true if any of the attributes have unsaved changes, false otherwise.
160160
person.changed? # => true
161161

162162
# returns a list of attributes that have changed before saving.

0 commit comments

Comments
 (0)