Posts for Tag: elixir
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.
Do you have a Phoenix application deployed using Dokku? Then you have can switch to using HTTPS in less than 5 minutes.
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.