Module: Mongoid::Sessions::Options
- Extended by:
- ActiveSupport::Concern
- Included in:
- Criteria, Mongoid::Sessions
- Defined in:
- lib/mongoid/sessions/options.rb
Defined Under Namespace
Modules: ClassMethods, Threaded Classes: Proxy
Instance Method Summary collapse
- #persistence_options ⇒ Object
-
#with(options) ⇒ Document
Tell the next persistance operation to store in a specific collection, database or session.
Instance Method Details
#persistence_options ⇒ Object
35 36 37 |
# File 'lib/mongoid/sessions/options.rb', line 35 def @persistence_options end |
#with(options) ⇒ Document
Tell the next persistance operation to store in a specific collection, database or session.
30 31 32 33 |
# File 'lib/mongoid/sessions/options.rb', line 30 def with() @persistence_options = self end |