RubyGems Navigation menu

mongoid-embedded-errors 4.0.0

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:
= 複製 已複製

安裝:
=

版本列表:

  1. 4.0.0 - August 30, 2022 (13.0 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.0 KB)
顯示所有版本(共 9)

Runtime 相依性套件 (1):

mongoid >= 7.0, < 9.0.0

Development 相依性套件 (2):

rubocop ~> 0.92
rubocop-rspec ~> 1.43

擁有者:

Pushed by:

作者:

  • Mark Bates, Kristijan Novoselić

SHA 256 checksum:

ad70de204d9a693333883db6172690ef7752ba42a1f780f6290ce06e71b7d4aa

總下載次數 295,117

這個版本 53,752

License:

MIT

Ruby 版本需求: >= 0

相關連結: