#812 ✓resolved
Tiago Franco

Error creating the first migration

Reported by Tiago Franco | September 29th, 2010 @ 01:54 PM | in Hobo 1.3 (Rails 3)

I'm trying Rails 3 and Hobo's rails3 branch. Currently at pre7 (that's what Gemfile.lock says).

I've generated one hobo model (page.rb) and when I try to run the hobo:migration I get this error:

/var/lib/gems/1.8/gems/mysql2-0.2.4/lib/active_record/connection_adapters/m ysql2_adapter.rb:312:in query': Table 'pagepong_development.pages' doesn't exist (Mysql2::Error)

It seam that the migration generator is trying to load the model and call ActiveRecord::Base.columns. Because the table was not yet created, this error is thrown (this is just a guess).

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Referenced by

Pages