Thanks Rick,

Your advice got me past the install.

Migration worked fine for development and test but I'm hung up on the production instance ...

On Mar 26, 2009, at 9:35 AM, Rick DeNatale wrote:

This sounds like it's related to one of the things I recently encountered in trying to upgrade from 4.1 to 5.2

try
sudo gem install datanoise-actionwebservice --source http://gems.github.com

My older typo seemed current to migration #70 so I'm trying each newer migration one at a time and I immediately get this with #71:


[...@dag migrate]$ rake -v --trace RAILS_ENV=production db:migrate VERSION=71
(in /home/rails-applications/typo-5.2)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== FixTagsNaming: migrating ==================================================
rake aborted!
An error has occurred, all later migrations canceled:

Validation failed: Name has already been taken
/home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/validations.rb:1021:in `save_without_dirty!' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/dirty.rb:87:in `save_without_transactions!' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:150:in `save!' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/connection_adapters/abstract/database_statements.rb: 66:in `transaction' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:129:in `transaction' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:138:in `transaction' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:150:in `save!' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:158:in `rollback_active_record_state!' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/transactions.rb:150:in `save!'
./db/migrate//071_fix_tags_naming.rb:6:in `up_without_benchmarks'
./db/migrate//071_fix_tags_naming.rb:4:in `each'
./db/migrate//071_fix_tags_naming.rb:4:in `up_without_benchmarks'
/home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:280:in `send' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:280:in `migrate'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:280:in `migrate'
(__DELEGATION__):2:in `__send__'
(__DELEGATION__):2:in `migrate'
/home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:480:in `migrate' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:556:in `call' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:556:in `ddl_transaction' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:479:in `migrate' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:466:in `each' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:466:in `migrate' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:394:in `up' /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ active_record/migration.rb:379:in `migrate' /home/rails-applications/typo-5.2/vendor/rails/railties/lib/tasks/ databases.rake:111
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19



Anything obvious jump out here?


Regards,
Chris


_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to