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: 9,611 of 198,650
Downloads: 398,483

Daily

Ranking: 12,692 of 198,575
Downloads: 51

Depended by

RankDownloadsName

Depends on

RankDownloadsName
55777,689,280rubocop
179309,112,618rubocop-rspec
1,05249,794,849mongoid

Owners

#GravatarHandle
1iconkristijan