Women in Technology

Hear us Roar

  Rolling with Ruby on Rails
Subject:   Runtime error
Date:   2006-03-18 08:14:47
From:   visionary
Response to: Runtime error

Check your category_id values in the database. I think they need to be greater than 0. Like 1 or 2.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

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