Posts for Tag: elixir

May 11, 2016

2 min read

Since Ruby 2.0 you can easily have methods that have named parameters with default values. Today I wanted to find the best way to do this in elixir. Below is what I came up with.

February 18, 2016

1 min read

Do you have a Phoenix application deployed using Dokku? Then you have can switch to using HTTPS in less than 5 minutes.

November 12, 2015

2 min read

In this short blog post I want to show you how easy it is to use Ecto validations together with PostgreSQL unique indexes to validate the uniqueness of an association.