Module: ModestModel::Callbacks
Constant Summary collapse
- CALLBACKS =
[ :after_initialize, :after_find, :before_validation, :after_validation, :before_save, :around_save, :after_save, :before_create, :around_create, :after_create, :before_update, :around_update, :after_update, :before_destroy, :around_destroy, :after_destroy ]
Instance Method Summary collapse
-
#destroy ⇒ Object
:nodoc:.
-
#found ⇒ Object
:nodoc:.
Instance Method Details
#destroy ⇒ Object
:nodoc:
24 25 26 |
# File 'lib/modest_model/callbacks.rb', line 24 def destroy #:nodoc: run_callbacks(:destroy) { super } end |
#found ⇒ Object
:nodoc:
20 21 22 |
# File 'lib/modest_model/callbacks.rb', line 20 def found #:nodoc: run_callbacks(:find) { super } end |