Sha256: 7e98ad80f8e1c5f1d652f1b01bc649ddb09622ffccc015ce4f4e52e1f9013c0f
Contents?: true
Size: 545 Bytes
Versions: 17
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # Raised when calling store_in in a sub-class of Mongoid::Document 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
17 entries across 17 versions & 1 rubygems