May 15, 2015
You can use a unique index to ensure only one occurance of a value but what do you do if you want to limit uniqueness to two rows instead of one? PostgreSQL's partial indexing can help. read more
May 15, 2015
May 12, 2015
“If I kicked the person responsible for most of my problems, I wouldn’t be able to sit down for weeks.”—D.L. Moody read more
Mar 10, 2014
I needed to loop over a fairly large data set and group it by year and month. In this post I walk through using two Ruby Fibers which communicate between each other in order to do in-loop grouping read more
Feb 12, 2014
An example of how to use the MailChimp API and their official mailchimp-api gem to add a subscriber to a mailing list. read more