1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

We are talking about the libraries, not the constants

This commit is contained in:
Sean Griffin 2014-06-27 13:10:58 -06:00
parent e04c4c0820
commit 36a38973a3

View file

@ -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"]