setting an embeds many association a second time does not persist the relationship

XMLWordPrintableJSON

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

      here's an example

      ~~~ruby
      person = Person.create addresses: [address_one]
      person.addresses = [address_two]
      person.save
      person.reload.addresses.first # => address_one
      ~~~

      The pull request has a failing spec, but would appreciate any help on figuring out where to make the fix.

      It's somewhere around persisting an embeds many relationship.

            Assignee:
            Unassigned
            Reporter:
            Gerad Suyderhoud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: