Elixir “with” syntax and guard clauses Brewing the firmware for Raspberry PI with Elixir and Nerves

(Ab)using Ecto as Elixir data casting and validation library

I just put together a fairly detailed write-up on how I use Ecto as generic data types casting and validation library. If you are looking for a way to create table-less form with Phoenix, validate user commands, create sign up or contact forms that do not map directly to database tables, it might come in handy:

(Ab)using Ecto as Elixir data casting and validation library