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
messages
mongoid
errors
messages
All
All
Incomplete
Complete
All locales
pt-BR - Portuguese (Brazil)
41 - 49 of 49
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
mongoid
errors
messages
unknown_attribute
message
pt-BR
Attempted to set a value for '%{name}' which is not allowed on the model %{klass}.
Update
Cancel
mongoid
errors
messages
unknown_attribute
resolution
pt-BR
You can include Mongoid::Attributes::Dynamic if you expect to be writing values for undefined fields often.
Update
Cancel
mongoid
errors
messages
unknown_attribute
summary
pt-BR
Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call %{klass}#%{name}= for it is not allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and is raised instead of getting a NoMethodError.
Update
Cancel
mongoid
errors
messages
validations
message
pt-BR
A validação falhou - %{document}.
Update
Cancel
mongoid
errors
messages
validations
resolution
pt-BR
Check the instances for this model looking for missing fields or wrong values.
Update
Cancel
mongoid
errors
messages
validations
summary
pt-BR
Errors: %{errors}
Update
Cancel