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.
Required Ruby Version
>= 0
Authors
Mark Bates, Kristijan Novoselić
Versions
-
4.0.0
-
source
- 4.0.0 source August 30, 2022 (13 KB)
-
-
3.0.1
-
source
- 3.0.1 source September 29, 2020 (12.5 KB)
-
-
2.1.1
-
source
- 2.1.1 source September 30, 2016 (12.5 KB)
-
-
2.0.1
-
source
- 2.0.1 source July 18, 2013 (8.5 KB)
-
-
2.0.0
-
source
- 2.0.0 source February 22, 2013 (7 KB)
-