Search code examples
ruby-on-rails-3nestedgeneratorscaffolding

Nested scaffold generator for Rails 3?


Is there a scaffold generator for Rails 3 that accommodates nested resources?

Rails 2.3 had

https://github.com/jeremyf/rspec_on_rails_nested_scaffold

https://github.com/mahkhaled/NestedRestfulScaffold

https://github.com/nilesh/nested-scaffold

but I don't find anything similar for Rails 3.

For quick prototypes, it'd be convenient not to have to tweak views after running a scaffold generator for nested resources.


Solution

  • I just created one. https://github.com/amatsuda/nested_scaffold

    Hope this helps!