Aug05
Ruby vs. MySQL (or, the day I learned about Benchmark)
I was writing a small Rails app for work to allow faculty and students to sign up for various events. So I had a Signup model :has_many timeslots that :has_many people. I needed to retrieve the email addresses for people that had signed up for timeslots after a certain time (i.e. all the people that had registered for a timeslot after Saturday at 10:00). Since the timeslots may not be in chronological order, I couldn’t find timeslots by a timeslot id.
Continue reading »