1. Speed up your Rails app with upsert_all

    Rails' ActiveRecord is—16 years in—almost feature complete, but Rails 6 introduces `upsert_all`. Here's how it can speed up some of the slowest parts of your app.
    Time An icon of a clock Publish Date
    April 9, 2020
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Ruby
    Upgrades
  2. Remote, but not alone

    Working remotely is easy to learn but difficult to master. There's a lot of advice on getting started, so let's talk about all the hard stuff. Here's some food for thought on how to find a way to do your best work from home.
    Time An icon of a clock Publish Date
    March 19, 2020
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Remote
  3. Necessary & Sufficient

    How do you know your code is tested enough? How do you avoid tests that don't add value? Jim Weirich created a heuristic that can answer these!
    Time An icon of a clock Publish Date
    February 25, 2020
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Testing
  4. Downloading large Heroku Postgres backups

    Once you upgrade beyond hobby-sized postgres databases, fetching a backup becomes more confusing and complicated. Fear not, there's still an easy way to pull down a copy of your data without breaking production!
    Time An icon of a clock Publish Date
    November 12, 2019
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    DevOps
  5. Enumerate your enums

    Rails defaults can lead you astray when creating enum attributes. This guide will show you an easier and less error-prone way that leverages custom enum types in Postgres.
    Time An icon of a clock Publish Date
    June 3, 2019
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Ruby
  6. I love meetings

    I love meetings. Getting to know other people, understanding the challenges they’re facing, and searching for ways to help them succeed is tremendously fun and rewarding. Helping others navigate the software industry is a big part of Test Double’s mission, too, even when my direct involvement is limited to an introductory sales call.
    Time An icon of a clock Publish Date
    October 11, 2018
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Consulting

Search An icon of a magnifying glass Search the Blog