# Scaffold Broken?

**URL:** <https://www.ruby-forum.com/t/scaffold-broken/119360>\
**Category:** Rails\
**Created:** [November 6, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360 "2007-11-06T12:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![beta\_geek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e4f/32.png) [@beta\_geek](https://www.ruby-forum.com/u/beta_geek)\
**Post date:** [November 6, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360/1 "2007-11-06T12:00:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![beta\_geek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e4f/32.png) [@beta\_geek](https://www.ruby-forum.com/u/beta_geek)\
**Post date:** [November 6, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360/2 "2007-11-06T12:29:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![beta\_geek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e4f/32.png) [@beta\_geek](https://www.ruby-forum.com/u/beta_geek)\
**Post date:** [November 6, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360/3 "2007-11-06T12:32:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![beta\_geek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e4f/32.png) [@beta\_geek](https://www.ruby-forum.com/u/beta_geek)\
**Post date:** [November 6, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360/4 "2007-11-06T12:58:59Z")

</div>

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

> **[Rails... Rails... Rails](http://cch4rails.blogspot.com)**
>
> Chee Chong Hwa aka CCH, a Malaysian Chief Software Architect blogs on his experiences with Ruby on Rail running on Win2003 Server+Apache 2.26 environment since 2007. Flirted briefly with Ubuntu 9.04 in 2009. Since January 2017, now using RubyMine...
