Skip to content

Instantly share code, notes, and snippets.

@abitdodgy
Created November 21, 2016 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abitdodgy/2f0bcbb304e002a60a7c205464e6a27a to your computer and use it in GitHub Desktop.
Save abitdodgy/2f0bcbb304e002a60a7c205464e6a27a to your computer and use it in GitHub Desktop.
Medium Article: Medium Article: Building Many-to-Many Associations with cast_assoc and Nested Forms in Phoenix and Ecto
defmodule App.Membership do
schema "memberships" do
field :role
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment