mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix the documentation method.
It is reload! in the class definition. [ci skip]
This commit is contained in:
parent
1c6bcefe7e
commit
ed0b080cb3
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module ActiveModel
|
||||||
# Reset the changes:
|
# Reset the changes:
|
||||||
#
|
#
|
||||||
# person.previous_changes # => {"name" => ["Uncle Bob", "Bill"]}
|
# person.previous_changes # => {"name" => ["Uncle Bob", "Bill"]}
|
||||||
# person.reload
|
# person.reload!
|
||||||
# person.previous_changes # => {}
|
# person.previous_changes # => {}
|
||||||
#
|
#
|
||||||
# Assigning the same value leaves the attribute unchanged:
|
# Assigning the same value leaves the attribute unchanged:
|
||||||
|
|
Loading…
Reference in a new issue