Updating records that use embeds_many
问题 I'm building an app in Elixir on top of the Phoenix Framework that has a piece of functionality around collecting data from the Spotify API and persisting it into a PostgreSQL 9.4 database for quick access. I'm having trouble with updating existing table rows that use embeds_many . I have Track and AlbumArt Ecto models that looks like this: defmodule CoolApp.Track do use CoolApp.Web, :model alias CoolApp.AlbumArt alias CoolApp.Repo alias CoolApp.Track schema "tracks" do field :sid, :string