[typo] rake migrate fails on 2.6.0 -> svn trunk

phil phil at cryer.us
Tue Mar 21 15:43:40 EST 2006


I'm trying to migrate a user's database from 2.6.0 to svn trunk, but rake migrate (with full trace) gives the following error:

[phil at pepe:~/websites/typo-svn]$ rake --trace migrate
(in /home/phil/websites/typo-svn)
** Invoke migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute migrate
Merging Comments into Contents table
rake aborted!
undefined method `title' for #<Bare21Comment:0x8e49724>
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1501:in `method_missing'
./db/migrate//21_superclass_comments.rb:30:in `up'
./db/migrate//21_superclass_comments.rb:26:in `up'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction'
./db/migrate//21_superclass_comments.rb:16:in `up'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:228:in `migrate'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:223:in `migrate'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:190:in `up'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:181:in `migrate'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/databases.rake:3
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:180:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/bin/rake:7
/usr/local/bin/rake:18
[phil at pepe:~/websites/typo-svn]$

I have a current Typo-svn running fine (http://fak3r.com) but that one I've migrated as I've went along, so I never had to do a big jump like this one.  What should I look at first here?  

Thanks

P
-- 
http://fak3r.com - you dont have to kick it



More information about the Typo-list mailing list