Category: Uncategorized

  • Prius Gas Mileage Using a Thule on a Road Trip

    I’ve been getting an actual 44 MPG over the first summer of owning my Prius. Running the heat and defrosting windows dropped my gas mileage down below 40.   

  • Multiple Postgres Schemas and Rails db:test:prepare

    In our Rails databases, we use multiple Postgres schemas. This is partly for partitioning archive data from fresh data. On a new Rails 5 project, I started having tests fail once the models had the “archivable” concern added, which depended on an archive schema existing. Ultimately, the problem is that the archive schema wasn’t being…

  • Postgres 9.4 via Homebrew on macOS

    I needed to run an old version of Postgres in order to be supported by the version of Rails I was working with, and I had a new Mac with High Sierra installed. Found out after a bit of “Why doesn’t this postgres formula link its executables?” that it was precisely because of the age…