Sha256: 399a81307eb17250dd7135f8876aa7cc89634e36ad783ffb684e5faf4c30ec7f
Contents?: true
Size: 528 Bytes
Versions: 105
Compression:
Stored size: 528 Bytes
Contents
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
105 entries across 100 versions & 7 rubygems