Sha256: 6a436ac3e7e17b2e923db7db38b192a9f497aeafb5ba332307782acd1c6f2e2f

Contents?: true

Size: 533 Bytes

Versions: 18

Compression:

Stored size: 533 Bytes

Contents

module Mongoid #:nodoc
  module Errors #:nodoc

    # This error is raised when trying to create set nested records above the
    # specified :limit
    #
    # Example:
    #
    #<tt>TooManyNestedAttributeRecords.new('association', limit)
    class TooManyNestedAttributeRecords < MongoidError
      def initialize(association, limit)
        super(
          translate(
            "too_many_nested_attribute_records",
            { :association => association, :limit => limit }
          )
        )
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
mongoid-braxton-2.0.2 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.2 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.1 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.8 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.7 lib/mongoid/errors/too_many_nested_attribute_records.rb
stonegao-mongoid-2.0.0.rc.6 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.6 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.5 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.4 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.3 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.2 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.rc.1 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.beta.20 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.beta.19 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.beta.18 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.beta.17 lib/mongoid/errors/too_many_nested_attribute_records.rb
mongoid-2.0.0.beta.16 lib/mongoid/errors/too_many_nested_attribute_records.rb