W3cubDocs

/Ruby on Rails 6.0

module ActiveRecord::DefineCallbacks

Included modules:
ActiveModel::Validations::Callbacks

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.

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.