On Oct 23, 2008, at 7:04 PM, Delirium tremens wrote:> Take a look...
>
> http://d.imagehost.org/0966/dbconsole_image.png
> http://d.imagehost.org/0709/console_image.png
>
> How to solve this problem?
Well, stop trying to use a Rails console when you mean to be talking
directly to your database.
Normally, you''d put table creation code inside an
ActiveRecord::Migration and run it with:
rake db:migrate
-Rob
Rob Biedenharn http://agileconsultingllc.com
Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---