rails
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 [...]
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:
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:
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> [...]
Recent Comments