Merge pull request #52195 from jaynetics/fix-ar-dirty-doc
Fix ActiveRecord dirty docs
This commit is contained in:
commit
770b353896
@ -31,7 +31,7 @@ module AttributeMethods
|
||||
# person.name_in_database # => "Alice"
|
||||
# person.saved_change_to_name? # => true
|
||||
# person.saved_change_to_name # => ["Allison", "Alice"]
|
||||
# person.name_before_last_change # => "Allison"
|
||||
# person.name_before_last_save # => "Allison"
|
||||
#
|
||||
# Similar to ActiveModel::Dirty, methods can be invoked as
|
||||
# +saved_change_to_name?+ or by passing an argument to the generic method
|
||||
|
Loading…
Reference in New Issue
Block a user