Sha256: de7d6b77ba4bd6d69b350023d0c72bbf90c820e522132477fef633eb80ef8828
Contents?: true
Size: 561 Bytes
Versions: 16
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when trying to create set nested documents 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
16 entries across 16 versions & 1 rubygems