Permalink
Browse files

Rephrased Dirty#changed? docs

  • Loading branch information...
smartinez87 committed Apr 27, 2011
1 parent 4554983 commit c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/dirty.rb
@@ -93,7 +93,7 @@ module Dirty
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

0 comments on commit c4b494b

Please sign in to comment.