| Article: |
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. | ||
Showing messages 1 through 1 of 1.
-
Runtime error
2006-03-21 08:00:46 gattox [View]



@recipes = Recipe.find(@params["id"])
instead of:
@recipe = Recipe.find(@params["id"])
Arghhhh ... Ruby and plurals ....