ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   undefined method `scaffold' for RecipeController:Class
Date:   2008-03-12 05:08:47
From:   rsmx
Hello,
I went thru the tutorial as given in http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3
While adding “scaffold :recipe” in recipe_controller.rb I am getting the following error.
NoMethodError in RecipeController#new
undefined method `scaffold' for RecipeController:Class


RAILS_ROOT: C:/rails/cookbook
Application Trace | Framework Trace | Full Trace
app/controllers/recipe_controller.rb:2



Please help me.


1 to 2 of 2
  1. undefined method `scaffold' for RecipeController:Class
    2009-11-22 00:35:02  Victor Odlivak [View]

  2. undefined method `scaffold' for RecipeController:Class
    2008-06-27 07:52:00  wonger [View]

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

      • undefined method `scaffold' for RecipeController:Class
        2009-10-30 11:37:44  Vijay A [View]

1 to 2 of 2