Someone has been working on it:
http://deaddeadgood.com/2008/10/8/scaffolding-nested-resources-in-rails
http://github.com/phorsfall/rspec_on_rails_nested_scaffold/tree/master
This works for me on rails 2.2.2 and the latest rspec-rails (1.1.11.1)
On Wed, Dec 19, 2007 at 12:04 PM, David Chelimsky
On Dec 18, 2007 4:58 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
> I was starting to think about writing a plugin/tool to address this,
> but I was wondering if anyone had any insight or had already started
> down this path.
This is definitely something I'd like to see addressed, so if you come
u
I've got a love-hate relationship with script/generate rspec_scaffold
If you are using non-nested controllers/resources it's great. I love
the spec skeletons it generates.
But I find myself doing this, where Y is and existing set of
model/controller ... representing a resource:
1) script/genera