module Avram::DeleteCallbacks

Included Modules

Direct including types

Defined in:

avram/callbacks/delete_callbacks.cr

Macro Summary

Macros inherited from module Avram::AfterCommitCallback

after_commit(method_name, if _if = nil, unless _unless = nil)
after_commit(if _if = nil, unless _unless = nil, &block)
after_commit

Macros inherited from module Avram::CallbackHelpers

conditional_error_for_block_callbacks(callback, condition) conditional_error_for_block_callbacks

Macro Detail

macro after_delete(method_name, if _if = nil, unless _unless = nil) #

Same as after_save but with a different name


[View source]
macro after_delete(if _if = nil, unless _unless = nil, &block) #

[View source]
macro before_delete(method_name, if _if = nil, unless _unless = nil) #

Same as before_save, but with a different name


[View source]
macro before_delete(if _if = nil, unless _unless = nil) #

[View source]