Rolling with Ruby on Rails
Subject:   Odd error
Date:   2005-05-01 22:11:23
From:   boboroshi
Setup: OS X 10.4, MySQL 4.0.24-Standard, Ruby 1.8.2, Rails installed by RubyGems as of 01 May 05

I get up to the link for

And it comes back with

NoMethodError in Recipe#new
undefined method `each' for nil:NilClass

When i run RAKE in the cookbook directory, i get something similar:

Tribeca:~/Sites/cookbook $ rake
(in /Users/johnathayde/Sites/cookbook)
rake aborted!
undefined method `fetch_fields' for nil:NilClass

What does that mean?

Root wouldn't work because i had set it up with a password, so i created a user "cook" with full permissions for localhost and no password. I stopped getting access denied errors and started getting theres undefined method errors.

1 to 2 of 2
  1. Odd error
    2005-05-07 08:32:18  butterfi [View]

  2. Curt Hibbs photo Odd error
    2005-05-02 08:08:21  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

1 to 2 of 2