Hello, I have a problem when I execute rake db:migrate (in /Users/miguelati/Proyectos/Proyectos Ruby/foro) rake aborted! can''t convert Fixnum into String With trace: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! can''t convert Fixnum into String /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/mysql_adapter.rb:292:in `change_user'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/mysql_adapter.rb:292:in `reset!'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:178:in `send'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:178:in `evaluate_method'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:166:in `call'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:in `run'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:in `each'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:in `send'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:in `run'' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:277:in `run_callbacks'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:249:in `checkout_and_verify'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:239:in `checkout_new_connection'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:180:in `checkout'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:176:in `loop'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:176:in `checkout'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/monitor.rb:242:in `synchronize'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:175:in `checkout'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:90:in `connection'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:321:in `retrieve_connection'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_specification.rb:113:in `connection'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:429:in `initialize'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:394:in `new'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:394:in `up'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:377:in `migrate'' /Library/Ruby/Gems/1.8/gems/rails-2.2.0/lib/tasks/databases.rake:111 /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/monitor.rb:242:in `synchronize'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 This error is only with 2.2, with 2.1.2 works fine. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---