| Article: |
Rolling with Ruby on Rails | |
| Subject: | undefined method `scaffold' for RecipeController:Class | |
| Date: | 2008-07-16 00:30:01 | |
| From: | thinhbk | |
|
Response to: undefined method `scaffold' for RecipeController:Class
|
||
|
with rail version 2.0 we can't use scaffold :recipe like this, it will generate error. The easiest way to do is use ruby eclipse plugin, it will generate for us. |
||
Showing messages 1 through 1 of 1.
-
undefined method `scaffold' for RecipeController:Class
2009-10-30 11:37:44 Vijay A [View]



The tutorial presented here : http://oreilly.com/pub/a/ruby/archive/rails.html?page=4 seems to be out of date.
I would suggest going through this new tutorial
http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html