So, which scaffolding has been tested with Rails 2 ?
<insert generic excuse for taking such shortcuts, invoking experimentation, customer pressure, and so on...>
f
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!
Matt
Yeah, +1 for the ResourceController. I started a project with it and it's really nice to use.
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
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).