Twitter Linkedin Tumblr Facebook Flickr Lastfm

Posts Tagged: ruby


3
Feb 08

Building the MacPorts MySQL gem on OS X

I’ve been running with the Rails MySQL adapter for a while now after failing to build the native MySQL gem under Leopard. The problem, I thought, was that I’m using the Macports MySQL, and it turns out I was right. If you attempt to build the MySQL gem and you get an error like this:

Continue reading →


20
Sep 07

Dates and times in fixtures

Just a micro tip. If you’re inserting dates and/or times into your database via fixtures whether for testing or to load initial data, it’s not enough just to specify the date. This won’t work:

Continue reading →