[Rails] Four Days on Rails

Cory Knox cory.knox at gmail.com
Wed Mar 2 16:31:57 GMT 2005


James, a friend of mine experienced the same issue, he believes it's
the outdated ruby mysql driver, it doesn't support the new
authentication introduced in 4.1.1, did you setup the mysql server the
way the onlamp article says to?


> >> Anyway, when I add the scaffold and test it in a browser, I get this
> >> error:
> >>  ActiveRecord::StatementInvalid in Category#index
> >>
> >> Invalid argument: SELECT * FROM categories
> >>
> >> When I run that select in mysql it runs fine, although there's not yet
> >> any content in there, so it returns an empty set.
> >>
> >> Surely this shouldn't be an invalid statement.


More information about the Rails mailing list