Granite::Callbacks
Constants
CALLBACK_NAMES = ["before_save", "after_save", "before_create", "after_create", "before_update", "after_update", "before_destroy", "after_destroy"] of ::String
Instance methods
abort!(message = "Aborted at #{@_current_callback}.")
SourceMacros
__after_create
Source__after_destroy
Source__after_save
Source__after_update
Source__before_create
Source__before_destroy
Source__before_save
Source__before_update
Sourceafter_create(*callbacks, &block)
Sourceafter_destroy(*callbacks, &block)
Sourceafter_save(*callbacks, &block)
Sourceafter_update(*callbacks, &block)
Sourcebefore_create(*callbacks, &block)
Sourcebefore_destroy(*callbacks, &block)
Sourcebefore_save(*callbacks, &block)
Sourcebefore_update(*callbacks, &block)
Source