Sha256: f08329678c78886b0ef6e6784bdbf6c087518521213e1ad5c9568a6a5d2acbe7
Contents?: true
Size: 559 Bytes
Versions: 8
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when trying to create set nested records above the # specified :limit # # @example Create the error. # TooManyNestedAttributeRecords.new('association', limit) class TooManyNestedAttributeRecords < MongoidError def initialize(association, limit) super( compose_message( "too_many_nested_attribute_records", { association: association, limit: limit } ) ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems