RubyGems Navigation menu

mongoid-embedded-errors 3.0.1

Embedded documents in Mongoid can be really useful. However, when one of those embedded documents is invalid, Mongoid does not say which validation has failed. Instead of just saying that an embedded document is invalid, this gem modifies Mongoid behavior so it explicitly provides validation errors on a per-field basis for embedded documents, the same way it does for parent documents.

Gemfile:
=

instalar:
=

Versiones:

  1. 4.0.0 August 30, 2022 (13 KB)
  2. 3.0.1 September 29, 2020 (12,5 KB)
  3. 2.1.1 September 30, 2016 (12,5 KB)
  4. 2.0.1 July 18, 2013 (8,5 KB)
  5. 2.0.0 February 22, 2013 (7 KB)
Mostrar todas las versiones (9 total)

dependencias de Runtime (1):

mongoid >= 4.0, < 8.0.0

dependencias de Development (2):

rubocop ~> 0.92
rubocop-rspec ~> 1.43

Propietarios:

Subida por:

Autores:

  • Mark Bates, Kristijan Novoselić

SHA 256 checksum:

=

Total de descargas 320.553

Para esta versión 42.317

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: