diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-26 23:37:11 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-26 23:37:11 -0300 |
commit | c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15 (patch) | |
tree | ce46603435ce5442d9f60ba1a006dc07fcee8f70 /activemodel/lib/active_model | |
parent | 4554983ab18ec60a3575f469125c3b0d98df4e33 (diff) | |
download | rails-c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15.tar.gz rails-c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15.tar.bz2 rails-c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15.zip |
Rephrased Dirty#changed? docs
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/dirty.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index 5ede78617a..3b412d3dd7 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -93,7 +93,7 @@ module ActiveModel attribute_method_affix :prefix => 'reset_', :suffix => '!' end - # Do any attributes have unsaved changes? + # Returns true if any attribute have unsaved changes, false otherwise. # person.changed? # => false # person.name = 'bob' # person.changed? # => true |