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
-
Tiago Franco September 29th, 2010 @ 02:20 PM
I need to try that. Will this be included in the rails3 development branch?
-
Domizio Demichelis September 29th, 2010 @ 11:34 PM
- State changed from new to open
- Milestone set to Hobo 1.3 (Rails 3)
- Assigned user set to Domizio Demichelis
- Milestone order changed from 197903 to 0
please check it with the latest commit and post if it is working, thank you
-
Tom Locke October 1st, 2010 @ 12:46 AM
- State changed from open to resolved
(from [93205c7a8c6914091771bb56ccb48d1708de670d]) fix for the missing table error [#805 state:resolved] [#812 state:resolved] http://github.com/tablatom/hobo/commit/93205c7a8c6914091771bb56ccb4...
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.
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
- 812 Error creating the first migration (from [93205c7a8c6914091771bb56ccb48d1708de670d]) fix for...
- 805 ``autocomplete`` in a controller causes migration failure (from [93205c7a8c6914091771bb56ccb48d1708de670d]) fix for...