On Jul 6, 2005, at 3:12 PM, Arthur Gittleman wrote:>
> I''m stepping through the Rolling with Rails article. I created
the
> mysql database and checked it with CocoaMySQL. When I try
> 127.0.0.1:3000/recipe/new I get
>
> ActiveRecord::StatementInvalid in Recipe#new
>
> No database selected: SHOW FIELDS FROM recipes
>
> I changed the database.yaml to the cookbook database. Any idea on
> how to fix this?
Did you install the mysql c bindings?
http://wiki.rubyonrails.com/rails/show/DatabaseDrivers
Not sure if that will help, but it''s certainly recommended.
Duane Johnson
(canadaduane)