We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bec50b commit 03a1af9Copy full SHA for 03a1af9
activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -31,7 +31,7 @@ module AttributeMethods
31
# person.name_in_database # => "Alice"
32
# person.saved_change_to_name? # => true
33
# person.saved_change_to_name # => ["Allison", "Alice"]
34
- # person.name_before_last_change # => "Allison"
+ # person.name_before_last_save # => "Allison"
35
#
36
# Similar to ActiveModel::Dirty, methods can be invoked as
37
# +saved_change_to_name?+ or by passing an argument to the generic method
0 commit comments