From ed0b080cb37a420194b56a7029017ce4a1e8b408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 23 Sep 2013 11:25:43 -0300 Subject: Fix the documentation method. It is reload! in the class definition. [ci skip] --- activemodel/lib/active_model/dirty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib') diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index 0b17443219..98e7d84608 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -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: -- cgit v1.2.3