Module: Mongoid::Callbacks::ClassMethods
- Defined in:
- lib/locomotive/mongoid/patches.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#without_callback(*args, &block) ⇒ Object
:nodoc:
41 42 43 44 45 |
# File 'lib/locomotive/mongoid/patches.rb', line 41 def without_callback(*args, &block) skip_callback(*args) yield set_callback(*args) end |