rails/activerecord/test/cases/attribute_methods
Eugene Kenny 6517263f99 Remove ActiveRecord::DefineCallbacks module
This module was added in 16ae3db5a5c6a08383b974ae6c96faac5b4a3c81 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
34f075fe5666dcf924606f8af2537b83b7b5139f, 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