-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:
Set _type the first time:
https://github.com/mongoid/mongoid/blob/master/lib/mongoid/traversable.rb#L188
and Set _type the second time:
https://github.com/mongoid/mongoid/blob/master/lib/mongoid/fields.rb#L244
This will give a warning to me.
Anybody can explain why this?