Undocument Model#set breakage in 7.4.0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Persistence
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There appears to be an undocumented breakage in 7.4.0. Assuming a User model with an external_ids field of type Hash, and a user record with external_ids value of 

      { a: 1 }

      , running the following:

      user.set(external_ids: { b: 2 })
      

      < 7.4.0

      => #<User external_ids={ a: 1, b: 2 }>
      

       
      >= 7.4.0

      => #<User external_ids={ b: 2 }>
      

            Assignee:
            Unassigned
            Reporter:
            Kieran Pilkington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: