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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  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 >= 4.0, < 8.0.0

Development 依赖 (2):

rubocop ~> 0.92
rubocop-rspec ~> 1.43

业主:

推送:

作者:

  • Mark Bates, Kristijan Novoselić

SHA 256 校验和:

c9f7a24075f30061d369bf75269fb2fadedcc0fd1f03defd28291a869aa11a02

下载总量 296,721

这个版本 38,456

许可:

MIT

需要的 Ruby 版本: >= 0

链接: