1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/attribute_methods
Eugene Kenny 6517263f99 Remove ActiveRecord::DefineCallbacks module
This module was added in 16ae3db5a5 to
allow `ActiveRecord::AttributeMethods::Dirty` to define callbacks and
still have its `_update_record` method wrapped by the version defined in
`ActiveRecord::Callbacks`, so that updates in `before_update` callbacks
are taken into account for partial writes.

The callbacks that created this circular dependency were removed in
34f075fe56, so we can move the callback
definitions back to the `Callbacks` module.
2020-04-10 06:46:06 +01:00
..
read_test.rb Remove ActiveRecord::DefineCallbacks module 2020-04-10 06:46:06 +01:00