Sha256: 55456f25879ad4df9ffe51d83d34eb5b6b6599d788e1bac5dfbaca932f74386b
Contents?: true
Size: 657 Bytes
Versions: 46
Compression:
Stored size: 657 Bytes
Contents
# encoding: utf-8 module Mongoid module Errors # This error is raised when a session is configured without a database. class NoSessionDatabase < MongoidError # Create the new error. # # @example Create the new error. # NoSessionDatabase.new(:default, {}}) # # @param [ Symbol, String ] name The db config key. # @param [ Hash ] config The hash configuration options. # # @since 3.0.0 def initialize(name, config) super( compose_message( "no_session_database", { name: name, config: config } ) ) end end end end
Version data entries
46 entries across 46 versions & 6 rubygems