diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-09-03 07:32:27 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-09-03 07:32:27 +0900 |
commit | 75d96ac8312d079a45ba59ad3a2324764a6968b1 (patch) | |
tree | eebec0ae0018cf09ffde65eff2b109ef4a49e69c | |
parent | d463b24f157dcb126c9e47bd7da18f6f25115e97 (diff) | |
download | rails-75d96ac8312d079a45ba59ad3a2324764a6968b1.tar.gz rails-75d96ac8312d079a45ba59ad3a2324764a6968b1.tar.bz2 rails-75d96ac8312d079a45ba59ad3a2324764a6968b1.zip |
add a description of the return value that was missing [ci skip]
-rw-r--r-- | guides/source/active_model_basics.md | 2 |
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. |