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?
31 32 33 |
# File 'lib/mongoid/core_ext/threaded/lifecycle.rb', line 31 def _loading_revision? Threaded.executing?("load_revision") end |