module

ActiveRecord::DefineCallbacks

This module exists because `ActiveRecord::AttributeMethods::Dirty` needs to define callbacks, but continue to have its version of `save` be the super method of `ActiveRecord::Callbacks`. This will be removed when the removal of deprecated code removes this need.

Included modules

  • ActiveModel::Validations::Callbacks

Files

  • activerecord/lib/active_record/define_callbacks.rb