string IDs stored for related documents created via form params

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      on Mongoid beta 14 so objectIDs should be used everywhere now. when i submit a form with params for related documents the IDs are created as strings instead of ObjectIDs, which breaks the relational associations

      see the example code here along with the post details and rails console showing the broken relationship: http://gist.github.com/498876

            Assignee:
            Unassigned
            Reporter:
            Nader Akhnoukh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: