1
0
Fork 0
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:
Rafael Mendonça França 2013-09-23 11:25:43 -03:00
parent 1c6bcefe7e
commit ed0b080cb3

View file

@ -68,7 +68,7 @@ module ActiveModel
# Reset the changes:
#
# person.previous_changes # => {"name" => ["Uncle Bob", "Bill"]}
# person.reload
# person.reload!
# person.previous_changes # => {}
#
# Assigning the same value leaves the attribute unchanged: