My projects
Public projects
Help
Documentation
Keyboard shortcuts ...
Github
Follow us on Twitter
Privacy Policy ...
Terms and Conditions ...
Sign in
Fabs
escola
Translations
Dashboard
Translations
Users
Downloads
View on Github
Sign in with Github to edit
no_parent
mongoid
errors
messages
no_parent
All
All
Incomplete
Complete
All locales
pt-BR - Portuguese (Brazil)
1 - 3 of 3
mongoid
errors
messages
no_parent
message
pt-BR
Cannot persist embedded document %{klass} without a parent document.
Update
Cancel
mongoid
errors
messages
no_parent
resolution
pt-BR
Ensure that you've set the parent relation if instantiating the embedded document directly, or always create new embedded documents via the parent relation.
Update
Cancel
mongoid
errors
messages
no_parent
summary
pt-BR
If the document is embedded, in order to be persisted it must always have a reference to its parent document. This is most likely caused by either calling %{klass}.create or %{klass}.create! without setting the parent document as an attribute.
Update
Cancel