Exception: Mongoid::Errors::SessionsNotSupported

Inherits:
MongoidError
  • Object
show all
Defined in:
lib/mongoid/errors/sessions_not_supported.rb

Overview

This error is raised when a session is attempted to be used with a model whose client cannot use it since the mongodb deployment doesn’t support sessions.

Constant Summary

Constants inherited from MongoidError

MongoidError::BASE_KEY

Instance Attribute Summary

Attributes inherited from MongoidError

#problem, #resolution, #summary

Instance Method Summary collapse

Methods inherited from MongoidError

#compose_message

Constructor Details

#initializeSessionsNotSupported

Create the error.



12
13
14
# File 'lib/mongoid/errors/sessions_not_supported.rb', line 12

def initialize
  super('sessions_not_supported')
end