Hi, I just started working with mr seal on this. Now we've run in to a
problem

Status is:
* old CE-version deleted , newest version in plugins folder
* new CE plugins and paths in environment.rb
* changed our Globalite calls to I18N
* ran rake
community_engine:db:migrate:upgrade_desert_plugin_migrations
successfully
* we haven't made any CE migrations of our own

I figured it was time to migrate in the new CE - migrations, but
rake db:migrate gives the error below.

Any Idea what I'm missing or what might cause this?

Cheers,
David

Btw, thanks for a great test suite - looks like it will make life easy
for us with deprecation warnings and all

[ david: ~/code/myCaddieCommunityMerge ]$ rake db:migrate --trace
(in /home/david/code/myCaddieCommunityMerge)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
undefined method `abstract_class?' for Object:Class
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:2207:in `class_of_active_record_descendant'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:1462:in `base_class'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:1138:in `reset_table_name'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:1134:in `table_name'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:3106:in `quoted_table_name'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:2226:in `sanitize_sql'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:23:in `send'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:23:in
`initialize_schema_migrations_table'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:22:in `each'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:22:in
`initialize_schema_migrations_table'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:11:in `each'
/usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/plugin_migrations/
2.1/extensions/schema_statements.rb:11:in
`initialize_schema_migrations_table'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
migration.rb:436:in `initialize'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
migration.rb:400:in `new'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
migration.rb:400:in `up'
/home/david/.gem/ruby/1.8/gems/activerecord-2.3.4/lib/active_record/
migration.rb:383:in `migrate'
/home/david/.gem/ruby/1.8/gems/rails-2.3.4/lib/tasks/databases.rake:
116
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/var/lib/gems/1.8/bin/rake:19:in `load'
/var/lib/gems/1.8/bin/rake:19


On 23 Sep, 15:23, Bruno Bornsztein <[email protected]> wrote:
> That sounds like a smart plan. I'd also suggest doing everything on a
> working branch so it's easy to revert back if things get hairy (git checkout
> -b upgrading_ce).
> Please read the UPGRADING notes carefully, especially the stuff at the
> bottom about migrations, and let me know if you run into any trouble.
> Thanks,
> Bruno

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to