MongoidError
This error is raised when attempting to version an embedded document.
Create the new error.
@example Create the new error.
VersioningNotOnRoot.new(Address)
@param [ Class ] klass The embedded class.
@since 3.0.0
# File lib/mongoid/errors/versioning_not_on_root.rb, line 15 def initialize(klass) super( compose_message("versioning_not_on_root", { klass: klass }) ) end
Generated with the Darkfish Rdoc Generator 2.