-
Type: Bug
-
Resolution: Fixed
-
Priority: Blocker - P1
-
Affects Version/s: 6.2.0, 6.1.1
-
Component/s: None
-
None
Hi
I'm upgrading a Rails 4.2 app with mongoid 5.2, but after the upgrade I find that options, client or method field names are not allowed.
This is the conclusion I arrived to after looking at mongoid code and seeing this exception:
NameError - undefined method options' for classScheduledReport': mongoid (6.1.1) lib/mongoid/errors/invalid_field.rb:44:in `origin'
Is there any way to define a field :foo that maps to :options or whatever field in the database?
Thanks
- duplicates
-
MONGOID-4444 Field names display and options are on prohibited_methods list
- Closed