aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_model_basics.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-09-03 07:32:27 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-09-03 07:32:27 +0900
commit75d96ac8312d079a45ba59ad3a2324764a6968b1 (patch)
treeeebec0ae0018cf09ffde65eff2b109ef4a49e69c /guides/source/active_model_basics.md
parentd463b24f157dcb126c9e47bd7da18f6f25115e97 (diff)
downloadrails-75d96ac8312d079a45ba59ad3a2324764a6968b1.tar.gz
rails-75d96ac8312d079a45ba59ad3a2324764a6968b1.tar.bz2
rails-75d96ac8312d079a45ba59ad3a2324764a6968b1.zip
add a description of the return value that was missing [ci skip]
Diffstat (limited to 'guides/source/active_model_basics.md')
-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.