From 75d96ac8312d079a45ba59ad3a2324764a6968b1 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Thu, 3 Sep 2015 07:32:27 +0900 Subject: [PATCH] add a description of the return value that was missing [ci skip] --- guides/source/active_model_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.