Module: Mongoid::Sessions::Options::ClassMethods
- Includes:
- Threaded
- Defined in:
- lib/mongoid/sessions/options.rb
Instance Method Summary collapse
-
#with(options) ⇒ Class
Tell the next persistance operation to store in a specific collection, database or session.
Methods included from Threaded
Instance Method Details
#with(options) ⇒ Class
Tell the next persistance operation to store in a specific collection, database or session.
101 102 103 |
# File 'lib/mongoid/sessions/options.rb', line 101 def with() Proxy.new(self, ( || {}).merge()) end |