Sha256: 018f1d4cc8c433188603d89d53ffc77399bd7769fd13ad1a4f8141b1ad8290f3

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

# encoding: utf-8

module Mongoid
  module Errors
    class MissingField < MongoidError
      def initialize(name)
        super(
          translate("missing_field", { :name => name })
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid_touch-0.0.4 lib/mongoid/errors/missing_field.rb
mongoid_touch-0.0.3 lib/mongoid/errors/missing_field.rb
mongoid_touch-0.0.2 lib/mongoid/errors/missing_field.rb