Parent

Methods

Class/Module Index [+]

Quicksearch

Mongoid::Errors::TooManyNestedAttributeRecords

This error is raised when trying to create set nested records above the specified :limit

@example Create the error.

TooManyNestedAttributeRecords.new('association', limit)

Public Class Methods

new(association, limit) click to toggle source
# File lib/mongoid/errors/too_many_nested_attribute_records.rb, line 10
def initialize(association, limit)
  super(
    translate(
      "too_many_nested_attribute_records",
      { :association => association, :limit => limit }
    )
  )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.