Sha256: 1c4626cc90a40db24d65a1f9a1ef4efd96b7a31491156fc06fafb4c8e3f91c29
Contents?: true
Size: 436 Bytes
Versions: 18
Compression:
Stored size: 436 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: # # <tt>InvalidField.new('collection')</tt> class InvalidField < MongoidError def initialize(name) super( translate("invalid_field", { :name => name }) ) end end end end
Version data entries
18 entries across 18 versions & 3 rubygems