Sha256: 6ee5e562474f771bfb795e59e8ce2ab2dbd5a29c002dbb1d3b18d4a191ecc17a
Contents?: true
Size: 438 Bytes
Versions: 25
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when trying to access a Mongo::Collection from an # embedded document. # # @example Create the error. # InvalidCollection.new(Address) class InvalidCollection < MongoidError def initialize(klass) super( compose_message("invalid_collection", { klass: klass.name }) ) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems