Recent posts

Automatic Database Migration on Heroku

less than 1 minute read

More than once, I have pushed a new release to Heroku and forgot to migrate the database. This can be avoided by adding a release command to your Procfile:

Reset Rails DB Environment after a Pull

less than 1 minute read

When you pull production data from Heroku to your local development environment, the data includes metadata for the environment from which it was pulled. Thi...

Sanitizing inconsistent user input

2 minute read

While working on a client project, I noticed that users had started using a field intended to store only a single value to store multiple values. When record...