Methods

Class/Module Index [+]

Quicksearch

Mongoid::Errors::InvalidPath

Used when attempting to get embedded paths with incorrect root path set.

Public Class Methods

new(klass) click to toggle source

Create the new error.

@example Create the error.

InvalidPath.new(Address)

@param [ Class ] klass The document class.

@since 3.0.14

# File lib/mongoid/errors/invalid_path.rb, line 15
def initialize(klass)
  super(compose_message("invalid_path", { klass: klass }))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.