Which Scaffolding Plugin for Rails 2 ?

So, which scaffolding has been tested with Rails 2 ?

<insert generic excuse for taking such shortcuts, invoking experimentation, customer pressure, and so on...>

f

Personally, I just started using ResourceController and it's a really great alternative to scaffolding. It cuts down on all of the repetitive code in your controllers and even in your views (provides lots of helpers). There might be a generator built-in (don't know for sure), but I actually enjoy building my views now, because most of the I usually spend lots of time writing, is done for me! :slight_smile:

Matt

Yeah, +1 for the ResourceController. I started a project with it and it's really nice to use.

See http://jamesgolick.com/2007/10/19/introducing-resource_controller-focus-on-what-makes-your-controller-special

regards

Jan

goodieboy schrieb:

fredistic wrote:

So, which scaffolding has been tested with Rails 2 ?

<insert generic excuse for taking such shortcuts, invoking experimentation, customer pressure, and so on...>

Scaffolding Extensions [1] supports Rails 2.0. Support for CSRF protection (enabled by default in 2.0) should be coming along soon.

[1] http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin

Jeremy

+1 for ResourceController :smiley:

Just to clarify - there is a resource scaffold generator (which supports haml and/or shoulda if you have them installed); and support for lots of wonderful things like polymorphic resources (and helpers to make that painless in your views).