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


AddThis Social Bookmark Button
  Rolling with Ruby on Rails
Subject:   Runtime error
Date:   2006-03-21 08:00:46
From:   gattox
Response to: Runtime error

Maybe you've done the same error as me: in the recipe_controller.rb maybe you have written

@recipes = Recipe.find(@params["id"])

instead of:

@recipe = Recipe.find(@params["id"])

Arghhhh ... Ruby and plurals ....