ActiveRecord::DefineCallbacks

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–2017 David Heinemeier Hansson
Licensed under the MIT License.

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部