How I take time off in an “unlimited” PTO world

Unlimited PTO can be a double-edged sword. Have you ever worked at a company where PTO was discouraged? The landscape has changed dramatically over the last 20 years. When I started my career, most companies had “sick time” separate from “vacation time”. Vacation had to be approved in advanced. And the concept of a mental … More How I take time off in an “unlimited” PTO world

Upgrading Postgres in Docker (and keep your data!)

We’re going to backup our database, stop the old Postgres, start the new one, and then restore our database on the new version. It sounds a little more complicated than it really is. If you’re curious on how Postgres backup and restore works, check out this earlier post. Start your old version of Postgres in … More Upgrading Postgres in Docker (and keep your data!)

Backup and Restoring Databases in Postgres

TL;DR 1. pg_dump -d my_database > my_backup_script.sql 2. rake db:create OR psql: CREATE DATABASE my_database_name 3. psql my_database_name < my_backup_script.sql Running into issues, or want to understand in more detail? Let’s dig in some more. Step 1: Backup Your Data Open up your favorite terminal. Make sure your database server is running (in Docker, in … More Backup and Restoring Databases in Postgres

The Samuel E. Wilson Volunteer of the Year Scholarship

(Last updated June 22nd, 2019) Applications are now closed. We are reviewing all entries in detail and will be replying to all applicants on June 30th. This scholarship is available to students who have made an impact to another person, a small group, or a community through self-sacrifice. This award celebrates the power of helping … More The Samuel E. Wilson Volunteer of the Year Scholarship

Waiting on a branch to merge in Git

Say we’re building two features: A checkout process. Support promo codes while checking out. We’ve finished building our checkout functionality. We wrap up our branch and sent the pull request through our review/testing process. In the meantime, we’re ready to start our second feature. Since we need the checkout code in order to add promo … More Waiting on a branch to merge in Git

Always a Volunteer

My father played football at Fulton High, and received a scholarship to play football at Vanderbilt. He declined. He always wanted to be a Volunteer. Before setting foot on the University of Tennessee campus, my father joined the Air Force to serve his country during the Vietnam War. After the war, he officially matriculated to … More Always a Volunteer

What I learned while digging into FactoryGirl’s build_stubbed

Spoiler Alert: I found build_stubbed not viable as a replacement of create​in our test suite. To remove the dependency of the database in tests, I would recommend RSpec’s instance_double instead. Read on to find out why. I was excited to find out that FactoryGirl has methods to create in-memory objects instead of hitting the database. Running a … More What I learned while digging into FactoryGirl’s build_stubbed