Sha256: 7a11e7c4a0c44de8446a0f02a60b902bdc676da47b77477c36a50515a5b3bffe

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 KB

Contents

en:
  mongoid:
    errors:
      messages:
        taken:
          is already taken
        document_not_found:
          Document not found for class %{klass} with id(s) %{identifiers}.
        invalid_database:
          Database should be a Mongo::DB, not %{name}.
        invalid_type:
          Field was defined as a(n) %{klass}, but received a %{other} with
          the value %{value}.
        unsupported_version:
          MongoDB %{version} not supported, please upgrade
          to %{mongo_version}.
        validations:
          Validation failed - %{errors}.
        invalid_collection:
          Access to the collection for %{klass} is not allowed since it
          is an embedded document, please access a collection from
          the root document.
        invalid_field:
          Defining a field named %{name} is not allowed. Do not define
          fields that conflict with Mongoid internal attributes or method
          names. Use Document#instance_methods to see what names this includes.
        too_many_nested_attribute_records:
          Accepting nested attributes for %{association} is limited
          to %{limit} records.
        embedded_in_must_have_inverse_of:
          Options for embedded_in association must include inverse_of.
        dependent_only_references_one_or_many:
          The dependent => destroy|delete option that was supplied
          is only valid on references_one or references_many associations.
        association_cant_have_inverse_of:
          Defining an inverse_of on this association is not allowed. Only
          use this option on embedded_in or references_many as array.
        calling_document_find_with_nil_is_invalid:
          Calling Document#find with nil is invalid
        unsaved_document:
          You cannot call create or create! through a relational association
          relation (%{document}) who's parent (%{base}) is not already saved.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-2.0.0.rc.7 lib/config/locales/en.yml