-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
All too often, it is easy to leave off a letter in an options key:
module Node
embedded_in :parent,
:polyorphic => true
end
Obviously the intention is for the relation to be :polymorphic rather than :polyorphic. Mongoid should raise immediately, warning that :polyorphic is not recognized as a known options key.