Scaffold Broken?

Hi,
I’m running into some serious problems with the scaffold features in
Rails
1.2.5

  1. Dynamic scaffolding appears to have gone
    I get “undefined method `scaffold’ for Product:Class” when trying to
    use
    it

  2. script/generate scaffold is broken
    running ‘script/generate scaffold Product’ or ‘script/generate
    scaffold_resource Product’ just generates empty scaffold, no database
    introspection seems to happen so CRUD pages are just blank

Am I missing something here (i’ve missed a couple of point releases
lately)?
Will open a bug if this is confirmed as it’s going to screw up anyone
trying
to follow any of the newbie rails tutorials and the ADRoR book

David

ignore my point 2, miskeyed the captilisation, but still would like to
know
the current state of scaffold and future plans for 2.0

From memory, DHH said that scaffolding would be removed from Rails 2.0,
I’m
not sure if it’ll still be available as a plugin. In all reality, while
scaffolding ‘looks’ like a good feature, it’s seldomly used in
production
(maybe for a quick CRUD mockup?).

Cheers,
James

Hi Beta Geek

James is right about the default scaffolding before Rails 2.0.

That said, you should take a serious look at ActiveScaffold, a plugin
that will definitely improve your productivity.

CCH