module

ActiveRecord::DefineCallbacks

rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

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