Module: Mongoid::Clients::Options::Threaded
- Included in:
- ClassMethods, Proxy
- Defined in:
- lib/mongoid/clients/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.
75 76 77 |
# File 'lib/mongoid/clients/options.rb', line 75 def (klass = self) Thread.current["[mongoid][#{klass}]:persistence-options"] end |