When I "rake db:migrate RAILS_ENV=production" this is what I get that leads to the "Something went wrong" page. The application runs fine in development mode. Could someone help me find where the problem is?
______________________________________________________________________________________________ zelop...@angel:~/rainspore.com/current$ rake RAILS_ENV=production -- trace (in /home/zelopast/rainspore.com/releases/20090423074909) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Invoke test:functionals (first_time) ** Invoke db:test:prepare ** Execute test:functionals /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/ lib/rake/rake_test_loader.rb" "test/functional/ home_controller_test.rb" "test/functional/ contacts_controller_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/ rake_test_loader Started EEEEEEEE Finished in 0.16796 seconds. 1) Error: test_should_create_contact(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 2) Error: test_should_destroy_contact(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 3) Error: test_should_get_edit(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 4) Error: test_should_get_index(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 5) Error: test_should_get_new(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 6) Error: test_should_show_contact(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 7) Error: test_should_update_contact(ContactsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 8) Error: test_the_truth(HomeControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: contacts: DELETE FROM "contacts" WHERE 1=1 8 tests, 0 assertions, 0 failures, 8 errors ** Invoke test:integration (first_time) ** Invoke db:test:prepare ** Execute test:integration /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/ lib/rake/rake_test_loader.rb" Errors running test:units and test:functionals! ______________________________________________________________________________________________ --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

