class Mongoid::Errors::TooManyNestedAttributeRecords
TooManyNestedAttributeRecords.new(‘association’, limit)
@example Create the error.
specified :limit
This error is raised when trying to create set nested documents above the
def initialize(association, limit)
def initialize(association, limit) super( compose_message( "too_many_nested_attribute_records", { association: association, limit: limit } ) ) end