class Mongoid::Errors::SessionsNotSupported

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.

Public Class Methods

new() click to toggle source

Create the error.

Calls superclass method
# File lib/mongoid/errors/sessions_not_supported.rb, line 12
def initialize
  super('sessions_not_supported')
end