We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d463b24 commit 75d96acCopy full SHA for 75d96ac
guides/source/active_model_basics.md
@@ -156,7 +156,7 @@ person.changed? # => false
156
person.first_name = "First Name"
157
person.first_name # => "First Name"
158
159
-# returns if any attribute has changed.
+# returns true if any of the attributes have unsaved changes, false otherwise.
160
person.changed? # => true
161
162
# returns a list of attributes that have changed before saving.
0 commit comments