Module: DuckRecord::DefineCallbacks
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/duck_record/define_callbacks.rb
Overview
This module exists because ‘DuckRecord::AttributeMethods::Dirty` needs to define callbacks, but continue to have its version of `save` be the super method of `DuckRecord::Callbacks`. This will be removed when the removal of deprecated code removes this need.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- CALLBACKS =
[ :after_initialize, :before_validation, :after_validation, ]