From a4b02be06761fd590b5eb67f162023a6f8e2cd4d Mon Sep 17 00:00:00 2001
From: _tiii <_@tiii.de>
Date: Mon, 8 Dec 2014 17:39:29 +0100
Subject: add brackets around attribute_name
since 'attr_name_will_change!' is not an actual method it should
be clearer that you have to insert the attribute name as in line 104
[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 4e389c8692..60af31cca7 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -13,7 +13,7 @@ module ActiveModel
# * include ActiveModel::Dirty in your object.
# * Call define_attribute_methods passing each method you want to
# track.
- # * Call attr_name_will_change! before each change to the tracked
+ # * Call [attr_name]_will_change! before each change to the tracked
# attribute.
# * Call changes_applied after the changes are persisted.
# * Call clear_changes_information when you want to reset the changes
--
cgit v1.2.3