Skip to content
Browse files

Rephrased Dirty#changed? docs

  • Loading branch information...
1 parent 4554983 commit c4b494bdc44a7aaa6b38b512d0bf6cfb8f1cfb15 @smartinez87 smartinez87 committed Apr 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/dirty.rb
View
2 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.
Something went wrong with that request. Please try again.