Module: Mongoid::Sessions::Options::Threaded
- Included in:
- ClassMethods, Proxy
- Defined in:
- lib/mongoid/sessions/options.rb
Instance Method Summary collapse
-
#persistence_options(klass = self) ⇒ Hash
Get the persistence options for the current thread.
Instance Method Details
#persistence_options(klass = self) ⇒ Hash
Get the persistence options for the current thread.
51 52 53 |
# File 'lib/mongoid/sessions/options.rb', line 51 def (klass = self) Thread.current["[mongoid][#{klass}]:persistence-options"] end |