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
unknown_attribute
mongoid
errors
messages
unknown_attribute
Complete
All
Incomplete
Complete
All locales
pt-BR - Portuguese (Brazil)
1 - 1 of 1
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