Module: Mongoid::Threaded::Lifecycle::ClassMethods
- Defined in:
- lib/mongoid/core_ext/threaded/lifecycle.rb
Instance Method Summary collapse
-
#_loading_revision? ⇒ true, false
Is the current thread in loading revision mode?.
Instance Method Details
#_loading_revision? ⇒ true, false
Is the current thread in loading revision mode?
32 33 34 |
# File 'lib/mongoid/core_ext/threaded/lifecycle.rb', line 32 def _loading_revision? Threaded.executing?('load_revision') end |