Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   ActiveRecord error?
Date:   2005-09-20 18:49:12
From:   CSBaum
I am trying the cookbook example out on my Win XP laptop with XAMPP installed, and I keep getting the following error when I try to go to the following url:


http://127.0.0.1:3000/recipe/new


Error:


ActiveRecord::StatementInvalid in Recipe#new


Invalid argument: SHOW FIELDS FROM recipes



I am not sure what is happening, I have the correct login info/password, I have tried the sql with MySQL front. The only bit that I 'cheated' on was that I pulled the .sql from the full example.


Thanks in advance,
Sean
script/server:49

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Curt Hibbs photo ActiveRecord error?
    2005-09-20 21:01:30  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    Can you run the source code as it exists in the zip file you downloaded? If so, then use a comparison tool to see what is different between that version and yours.