-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:
Useful for many to many relations where the referenced document is not dependent on the referring document (tags, categories, etc (when embedding is not the best solution)).
Deal-breaker:
http://github.com/durran/mongoid/blob/master/lib/mongoid/associations/references_many_as_array.rb#L25
Perhaps add an :foreign_key => false option?