[rspec-devel] [ rspec-Feature Requests-6098 ] Make scaffold_resource generator

aslak hellesoy aslak.hellesoy at gmail.com
Fri Oct 13 03:40:18 EDT 2006


On 10/13/06, David Goodlad <dgoodlad at gmail.com> wrote:
> Hi Aslak (and Dave - can only 'reply' to one message)
>
> > > Should I try to get permission to post it publicly?  Would it fill this need?
> > >
> >
> > That would be great. If you get legal clearance for it, please post
> > the code as an attatchment to the RFE above.
>
> Will do.
>
> I just added some basic views to the generator, but they don't
> automatically add fields like the normal scaffolding: I prefer to set
> that up by hand...  I'll talk to my boss tomorrow about posting it!
>

Great!

Take a look at how RSpec on Rails' existing generators are done if you
haven't already. I'd very much like this new generator to reuse as
much as possible from the official generator - the RSpec generator
should really only differ in that it generates specs instead of tests.

Cheers,
Aslak

> Dave
>
> --
> Dave Goodlad
> dgoodlad at gmail.com or dave at goodlad.ca
> http://david.goodlad.ca/
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list