How did you create the contacts table?
Do you have the mysql gem installed?
What is the response when, in your app directory, you type: "script/
about"?

On Sep 18, 5:04 pm, Artful <[email protected]> wrote:
> I'm new to RoR so please forgive this trivial question. I'm working
> through Timothy Fisher's Ruby on Rails Bible, I have the components up
> and running. I have created the contactlist database and within it the
> contacts table. I then follow the instructions on page 81:
>
> ruby script/console
> my_contact = Contact.new
>
> It's supposed to respond with a message describing the attributes of
> the Contact class, but instead it tells me that it cannot find the
> contacts_development database. It is there, as shown by the mysql
> console app. What am I doing wrong? Should I have created the database
> in some particular directory rather than just leave it to mySQL to
> figure out where to place it?
>
> Thanks in advance,
> Arthur
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to