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:
Posts Tagged: rails
12
Nov 07
TextMate Rails Cheat Sheet
This is actually a duplication of this, but when I already have a million tabs open during the course of development, I’d rather not open another with a big fat Flash applet in it. So I created myself the following text only version. The characters I’ve used aren’t perfect, I’ll fix them when I get a chance..
8
Nov 07
Removing plugins installed as svn:externals
I just had a problem with my svn repository after a couple of plugins I had installed as svn:externals (./script/plugin install -x http://blahblah) were no longer required and I wanted to remove them. Not something I’ve done before, but I found a handy article here, and all you have to do is this:
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:
8
Jun 07
Embedding SWF content with Ruby on Rails
A question regarding the embedding of SWF content came up on the Ruby on Rails mailing list. In this instance, the problem was related to the tags used to embed a SWF in Internet Explorer and Mozilla browsers. Internet Explorer requires an <object> tag, while Mozilla (and most other) browsers require an <embed> tag.