Sha256: 9be2010b79e571ace472b0b8fd811dc924f463f3f3350eafa1092f9b269594cc
Contents?: true
Size: 441 Bytes
Versions: 188
Compression:
Stored size: 441 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc module Errors #:nodoc # This error is raised when trying to create a field that conflicts with # a Mongoid internal attribute or method. # # @example Create the error. # InvalidField.new('collection') class InvalidField < MongoidError def initialize(name) super( translate("invalid_field", { :name => name }) ) end end end end
Version data entries
188 entries across 96 versions & 4 rubygems