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

any commit since 31f5fd3a updates habtm-ids without beeing changed

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi,

      one of the lastes commits introduced a behavior, where the ids of habmt-associations are updated/marked as changed, even without beeing changed:

      Unable to find source-code formatter for language: `. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      ruby-1.9.2-p180 :006 > u = User.first; nil
       => nil 
      ruby-1.9.2-p180 :008 > u.changes
       => {} 
      ruby-1.9.2-p180 :009 > u
      ... content of the u instance ...
      1 row in set
      ruby-1.9.2-p180 :010 > u.changes
       => {"account_ownership_ids"=>[[], []], "account_adminship_ids"=>[[], []], "workspace_adminship_ids"=>[[], []], "workspace_attendeeship_ids"=>[[], []], "meeting_ownership_ids"=>[[BSON::ObjectId4df9b001e8e6871ab3000027], [BSON::ObjectId4df9b001e8e6871ab3000027]], "meeting_attendeeship_ids"=>[[], []]} 
      

      `

      --Frank

            Assignee:
            durran Durran Jordan
            Reporter:
            fwoeck fwoeck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: