aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2015-09-02 15:57:39 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2015-09-02 15:57:39 -0700
commit43dd11853984055f8c0ac330df88b92942f0c89b (patch)
treeeebec0ae0018cf09ffde65eff2b109ef4a49e69c
parentd463b24f157dcb126c9e47bd7da18f6f25115e97 (diff)
parent75d96ac8312d079a45ba59ad3a2324764a6968b1 (diff)
downloadrails-43dd11853984055f8c0ac330df88b92942f0c89b.tar.gz
rails-43dd11853984055f8c0ac330df88b92942f0c89b.tar.bz2
rails-43dd11853984055f8c0ac330df88b92942f0c89b.zip
Merge pull request #21475 from y-yagi/add_description_of_return_value
add a description of the return value that was missing [ci skip]
-rw-r--r--guides/source/active_model_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_model_basics.md b/guides/source/active_model_basics.md
index 81e2a69504..2bdbd792a8 100644
--- a/guides/source/active_model_basics.md
+++ b/guides/source/active_model_basics.md
@@ -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.