Category: Uncategorized

  • Who Else is Participating in Advent of Code 2019

    Who else is doing Advent of Code 2019? I’m using it to try to solve problems in Ruby without actually looking up syntax (looking at you, inject) and getting some practice using MiniTestinstead of RSpec which I use 99% of the time. Day 2 was kind of fun to be able to implement a tiny virtual…

  • 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…