Changing Data Column Type in Rails App to Integer From String
Sometimes you start building your app and the easiest thing is to build out your models using the string type, which becomes VARCHAR in SQL speak. But then as you start coding, you realize it would be better to have some of those columns as integers. That's what happened ...
read more
August 10, 2020
Postgres Cheat Sheet for Dokku
If you're using the Postgres plugin with your Dokku server, such as on Digital Ocean, you may find yourself from time to time needing to export and import data. Just recently, I went through an issue where I needed to spin up a completely new server to fix another issue a...
read more