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:
Rob Biedenharn http://agileconsultingllc.com
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks