Jamie's Weblog

Lessons of a startup CTO — and other things

Here I am!

Jamie Lawrence

Jamie Lawrence

I help non-technical founders start their business, build their product, get their first customers, and grow their technical team. I'm a generalist software engineer and I've worked with many different languages over the past 15 years but my current tool of choice is Ruby on Rails. I'm also an enthusiastic photographer and a novice archer

Personal Links

View Full Profile →

postgres

January 29, 2014 0

Implementing User Settings with Rails 3.2, Postgres and Apartment

ok, so I’ll actually be talking about Company settings, not User settings. You get the idea. I needed to start storing some per-company configuration settings in a client app. I could obviously start adding columns to the Company table but these settings will: a) change over time; b) only apply to a few companies (the […]

Read More
August 15, 2012 0

Getting rid of annoying Postgres output in RSpec

You’ll often see lots of this in your RSpec output if you’re using Postgres: NOTICE: CREATE TABLE will create implicit sequence "companies_id_seq" for serial column "companies.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "companies_pkey" for table "companies" NOTICE: CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id" NOTICE: CREATE TABLE […]

Read More