Rolling with Ruby on Rails
Subject:   Runtime error
Date:   2006-03-07 06:47:03
From:   curth
Response to: Runtime error

Try downloading the source code for part one and comparing it with your source code:

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Runtime error
    2006-03-18 08:14:47  visionary [View]

    Check your category_id values in the database. I think they need to be greater than 0. Like 1 or 2.
    • Runtime error
      2006-03-21 08:00:46  gattox [View]

      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 ....