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:
parent
e04c4c0820
commit
36a38973a3
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue