Archive for May, 2008

Connecting Ruby on Rails to Oracle on an Intel Mac in Leopard, take 2

Since I posted the first version of this article, there have been a couple of changes. The biggest one is that Intel has released Intel Mac versions of the InstantClient. Woohoo! That makes the previous version rather too complicated, so I’ve updated it here. This tutorial assumes that you’re using Rails [...]

HOWTO monkeypatch Rake: overriding a Rake task

I know that some people really don’t like monkeypatching, and I see why. But sometimes it’s just unavoidable. Recently at work we came across a situation where the standard rake db:schema:dump task just wasn’t working. So I started by writing the new version of the rake task that I wanted:
namespace :db do
[...]