Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use define_model_callbacks instead of define_callbacks
ActiveSupport::Callbacks.define_callbacks doesn't define the class macros to create callbacks (anymore?). This means that in 2.0.0, before_move, after_move, and around_move are missing. ActiveModel::Callbacks.define_model_callbacks handles defining the macros, and as a bonus adds the `:terminator` option itself.
- Loading branch information