Deployment Strategies For Elixir Phoenix - Heroku Understanding Phoenix.Endpoint

Form inputs for lists as array ecto types in Phoenix

This video goes through making form input helpers for a Phoenix app.

Did you know you could use Elixir Maps and Lists in your Ecto schemas? Have you ever tried making an edit form for a collection type? You can use the phx.gen.html generators but you’ll get an error if you try to update the field. Let’s make an input_array helper and fix that!

We’ll do that today, starting from the basic Phoenix app from last time.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.