Categories: None [Edit]

mongoid-embedded-errors

https://rubygems.org/gems/mongoid-embedded-errors
https://github.com/glooko/mongoid-embedded-errors
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.

Total

Ranking: 8,851 of 186,841
Downloads: 365,152

Daily

Ranking: 7,098 of 186,825
Downloads: 280

Depended by

RankDownloadsName

Depends on

RankDownloadsName
57592,913,662rubocop
187235,667,754rubocop-rspec
1,01443,576,336mongoid

Owners

#GravatarHandle
1iconkristijan