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:
40 41 42 43 44 |
# File 'lib/locomotive/mongoid/patches.rb', line 40 def without_callback(*args, &block) skip_callback(*args) yield set_callback(*args) end |