Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   undefined method `scaffold' for RecipeController:Class
Date:   2008-06-27 07:52:00
From:   wonger
Response to: undefined method `scaffold' for RecipeController:Class

Did you ever find the answer to this? I am getting the same error.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • undefined method `scaffold' for RecipeController:Class
    2008-07-16 00:30:01  thinhbk [View]

    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.
    • undefined method `scaffold' for RecipeController:Class
      2009-10-30 11:37:44  Vijay A [View]

      I also faced the same problem.
      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