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 →


July 4, 2007 0

Conditional Validation in Rails

I was implementing the Strategy pattern presented here to avoid the limitations of Single-Type Inheritance but I wanted to implement some conditional validations based on the type: If it’s a “MonthDay-based” recurring event (e.g. 23rd of every month), then the monthday field must be present If it’s a “Date-based” recurring event (e.g. 1st August, repeating […]

Read More
June 19, 2007 2

BalanceTracker: Introduction

I previously used an Excel spreadsheet to budget my quarterly student stipend and ensure that rent was paid, known expenses were accounted for and Visa cards paid off. This worked reasonably well but marriage and moving back to Ireland has made the personal finances a little more complicated: We each get paid at different times […]

Read More