| Article: |
Rolling with Ruby on Rails | |
| Subject: | Action Control:Exception caught | |
| Date: | 2006-03-30 07:58:35 | |
| From: | curth | |
|
Response to: Action Control:Exception caught
|
||
| The recipe you are trying to display probably does not have a category assigned to it -- check your database. If the category_id field is null, then "recipe.category" will return the value "nil" instead of a category object, and since the "nil" object doesn't have a "name" method, you get this error. | ||
Women in Technology
Hear us Roar
