Sha256: 869adfdc56a2a2f3d923206b1cde76c115f959c969859e67618ecac4a07b8d82
Contents?: true
Size: 569 Bytes
Versions: 9
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # Raised when calling store_in in a sub-class of Mongoid::Document # # @deprecated class InvalidStorageParent < MongoidError # Create the new error. # # @example Create the new error. # InvalidStorageParent.new(Person) # # @param [ Class ] klass The model class. def initialize(klass) super( compose_message( "invalid_storage_parent", { klass: klass } ) ) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems