| Article: |
How to Build Simple Console Apps with Ruby and ActiveRecord | |
| Subject: | Scaffolding support from newgem | |
| Date: | 2007-06-23 23:05:13 | |
| From: | drnicwilliams | |
|
I think http://newgem.rubyforge.org could include some nice ActiveRecord+migration scaffolding support to make DB access easier.
|
||
Showing messages 1 through 1 of 1.
-
Scaffolding support from newgem
2007-06-24 07:10:40 Gregory Brown |
[View]



Then you edit config/environment.rb which contains the establish_connection call.
Then:
You can include your models in any report via
require "data/models"
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!
[0] http://ruportbook.com/rope.html