Rolling with Ruby on Rails
Subject:   NoMethodError in Recipe#list
Date:   2006-12-11 20:16:22
From:   jshphoto
Ok, I thanks to the previous post, I was able to succesfully define the "id" field in my recipe table. I was then able to create categories on the category/list page. However, when I tried to update the recipes I had created with the categories, the category drop down menu was not there. I tried rewriting my html in my rails\cookbook\app\views\recipe\list.rhtm file and my c:\rails\cookbook\app\views\recipe and I now get the following error

" NoMethodError in Recipe#list"

"You have a nil object when you didn't expect it!
The error occured while evaluating"

What have I done?

Muchos gracias to those wise soles who can answer these questions. You are truly an unsung hero.


1 to 1 of 1
  1. NoMethodError in Recipe#list
    2006-12-11 20:26:59  jshphoto [View]

    • NoMethodError in Recipe#list
      2007-04-13 19:41:24  RRS2007 [View]

      • NoMethodError in Recipe#list
        2007-04-13 20:08:06  RRS2007 [View]

        • NoMethodError in Recipe#list
          2009-04-08 07:32:23  yoberi [View]

        • NoMethodError in Recipe#list
          2009-04-08 07:08:08  yoberi [View]

1 to 1 of 1