Sha256: b2d0c1bbfff70ddfe0916553e883e166d7ef1668a90197b8d0318f1141289d01

Contents?: true

Size: 420 Bytes

Versions: 46

Compression:

Stored size: 420 Bytes

Contents

# encoding: utf-8
module Mongoid
  module Errors

    # This error is raised when no sessions exists in the database
    # configuration.
    class NoSessionsConfig < MongoidError

      # Create the new error.
      #
      # @example Create the error.
      #   NoSessionsConfig.new
      #
      # @since 3.0.0
      def initialize
        super(compose_message("no_sessions_config", {}))
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 6 rubygems

Version Path
mongoid-3.0.23 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.1.1 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.1.0 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.22 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.21 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.20 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.19 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.18 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.17 lib/mongoid/errors/no_sessions_config.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.16/lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.16 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.15 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.14 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.13 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.12 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.11 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.10 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.9 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.6 lib/mongoid/errors/no_sessions_config.rb
mongoid-3.0.5 lib/mongoid/errors/no_sessions_config.rb