From 6b557ae709903e51ce30fd6eae9270a0fd32c1b2 Mon Sep 17 00:00:00 2001 From: Gourav Tiwari Date: Fri, 8 May 2015 14:45:32 -0700 Subject: minor rdoc syntax fix [ci skip] --- activemodel/lib/active_model/dirty.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/lib') diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index c0fc507286..0169c20e0b 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -102,10 +102,10 @@ module ActiveModel # person.changes # => {"name" => ["Bill", "Bob"]} # # If an attribute is modified in-place then make use of - # +[attribute_name]_will_change!+ to mark that the attribute is changing. + # [attribute_name]_will_change! to mark that the attribute is changing. # Otherwise \Active \Model can't track changes to in-place attributes. Note # that Active Record can detect in-place modifications automatically. You do - # not need to call +[attribute_name]_will_change!+ on Active Record models. + # not need to call [attribute_name]_will_change! on Active Record models. # # person.name_will_change! # person.name_change # => ["Bill", "Bill"] -- cgit v1.2.3