Sha256: a475d6cb2cf082aa8808e76cd6e46709e294c60a8f52aa4af7536d02a6e544d4
Contents?: true
Size: 477 Bytes
Versions: 27
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 module Mongoid module Errors # This error is raised when trying to set an attribute with an invalid value. # For example when try to set an Array value to a Hash attribute. # class InvalidValue < MongoidError def initialize(field_class, value_class) super( compose_message("invalid_value", { value_class: value_class, field_class: field_class }) ) end end end end
Version data entries
27 entries across 27 versions & 2 rubygems