aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-27 13:10:58 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-27 13:10:58 -0600
commit36a38973a3c81831af44ec3dce1fc4ff49c4dc55 (patch)
tree8e15385f89ed7bc138ac7ccfb9f7b02b9edb3188 /activemodel
parente04c4c08200a15cfbc7019358dbe41399fa258f9 (diff)
downloadrails-36a38973a3c81831af44ec3dce1fc4ff49c4dc55.tar.gz
rails-36a38973a3c81831af44ec3dce1fc4ff49c4dc55.tar.bz2
rails-36a38973a3c81831af44ec3dce1fc4ff49c4dc55.zip
We are talking about the libraries, not the constants
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/dirty.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb
index 48dd54a7b0..f57588b96d 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -86,9 +86,9 @@ module ActiveModel
#
# If an attribute is modified in-place then make use of
# +[attribute_name]_will_change!+ to mark that the attribute is changing.
- # Otherwise ActiveModel can't track changes to in-place attributes. Note
- # that ActiveRecord can detect in-place modifications automatically. You do
- # not need to call +[attribute_name]_will_change!+ on ActiveRecord models.
+ # 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.
#
# person.name_will_change!
# person.name_change # => ["Bill", "Bill"]