I discovered rbatis at work this afternoon. It’s clunky compared to activerecord, but that isn’t the point. What it potentially gives you is the possibility to interact with ugly legacy databases – or even just legacy tables. It’s pretty new, and my bet is that with some work, it would be pretty easy to automate some fairly decent scaffolding for it in order to take most of the grunt work out of it.