Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-198

One way references_many_as_array

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • 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?

            Assignee:
            Unassigned Unassigned
            Reporter:
            hp Havoc Pennington
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: