Yeah, it's someone domain specific, but Ruport handles this kind of stuff, too.
$ rope my_project
Then you edit config/environment.rb which contains the establish_connection call.
$ util/build model my_model
You can include your models in any report via
When you generate reports or renderers, the tests are scaffolded for you.
Again, it's geared towards Ruport, but it comes in handy for some things. :)
If you get newgem to do some of this stuff, let us know!