Forum: Ruby on Rails script/dbconsole not working

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
60c421971b231beb5a28b9ea458cf812?d=identicon&s=25 Delirium tremens (Guest)
on 2008-10-24 01:05
(Received via mailing list)
Ef3aa7f7e577ea8cd620462724ddf73b?d=identicon&s=25 Rob Biedenharn (Guest)
on 2008-10-24 04:30
(Received via mailing list)
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@AgileConsultingLLC.com
This topic is locked and can not be replied to.