How to create PG index operators in Ecto

I recently learned about the text_pattern_ops index that was introduced in Postgres 8.4. It adds an index that will speed up both WHERE »

Phoenix: Enable SQL logging in the test environment

This is obvious in hindsight, but I am writing this note in hopes that will help someone else. I was looking for a way to see »

JavaScript before CoffeeScript

CoffeeScript was written by Jeremy Ashkenas, a Ruby developer who was fed up with the quirks of JavaScript. It was an instant success in the Ruby »

Dokku Cheat Sheet

Show all running docker containers. docker ps -a Tail the Rails logs. docker logs -f <docker-container-id> Access the Rails console. dokku run <app-name& »

Setting up Dokku on Digital Ocean

This is a step by step tutorial that will walk you through setting up a Ruby on Rails application through Docker on Digital Ocean. Prerequisites Digital »

Hike to Elfin Lakes

At the end of July the (now not so) Bearded One came to visit me in Vancouver. We had an awesome few days exploring the city »

All good things must come to an end

Today is the last day of our trip. We have been traveling for three months. I am sitting at a restaurant in Bangkok, on the 32nd »

The Mountain of the Sleeping Lady

One of the great things about riding your own motorbike in Thailand is that you are not limited to touristy areas. Making a splash On our »

Border Run to Mae Sai

It was during our last day in Pai that Razvan realized that our visa was about to expire in a few days. We did not bother »

The Thakhek Loop

After we got our asses kicked by some of the climbs at Green Climber's Home (and after being a bit concerned with safety on what are »