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