[Alumnionrails-errors] [ALI] user_work_experience#update (ActiveRecord::StatementInvalid) "Mysql::Error: #42S02Table 'alumnionrails_production.activities' doesn't exist: SHOW FIELDS FROM `activities`"

Application Error ali at dhbw-ravensburg.de
Wed Jul 29 14:16:46 EDT 2009


A ActiveRecord::StatementInvalid occurred in user_work_experience#update:

  Mysql::Error: #42S02Table 'alumnionrails_production.activities' doesn't exist: SHOW FIELDS FROM `activities`
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract_adapter.rb:147:in `log'

-------------------------------
Request:
-------------------------------

  * URL       : http://ali.ba-ravensburg.de/user_work_experience/update/298
  * IP address: 79.236.53.51
  * Parameters: {"company"=>{"name"=>"TechniData AG", "emp_from(2i)"=>"7", "emp_until(3i)"=>"1", "emp_from(3i)"=>"1", "website"=>"http://www.technidata.com", "job"=>"Senior Software Engineer", "job_description"=>"Spezifikation, Design und Entwicklung von kundenspezifischen Erweiterungen und neuen Produkten basierend auf SAP EH&S.", "emp_until(1i)"=>"2013", "emp_status"=>"0", "emp_from(1i)"=>"2002", "emp_until(2i)"=>"12"}, "action"=>"update", "id"=>"298", "controller"=>"user_work_experience"}
  * Rails root: /var/www/localhost/rails/alumnionrails/releases/20090727200201

-------------------------------
Session:
-------------------------------

  * session id: "BAh7CDoScmVxdWVzdGVkX3VyaTA6DHVzZXJfaWRpAaEiCmZsYXNoSUM6J0Fj\ndGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--d74b22a3e621da586453b60f8bc2b30971f1a894"
  * data: {:requested_uri=>nil, "flash"=>{}, :user_id=>161}

-------------------------------
Environment:
-------------------------------

  * CONTENT_LENGTH          : 514
  
  * CONTENT_TYPE            : application/x-www-form-urlencoded; charset=UTF-8
  
  * GATEWAY_INTERFACE       : CGI/1.2
  
  * HTTP_ACCEPT             : text/javascript, text/html, application/xml, text/xml, */*
  
  * HTTP_ACCEPT_CHARSET     : ISO-8859-1,utf-8;q=0.7,*;q=0.7
  
  * HTTP_ACCEPT_ENCODING    : gzip,deflate
  
  * HTTP_ACCEPT_LANGUAGE    : en-us,en;q=0.5
  
  * HTTP_CACHE_CONTROL      : no-cache
  
  * HTTP_CONNECTION         : Keep-Alive
  
  * HTTP_CONTENT_LENGTH     : 514
  
  * HTTP_CONTENT_TYPE       : application/x-www-form-urlencoded; charset=UTF-8
  
  * HTTP_COOKIE             : _ali_session=BAh7CDoScmVxdWVzdGVkX3VyaTA6DHVzZXJfaWRpAaEiCmZsYXNoSUM6J0Fj%0AdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--d74b22a3e621da586453b60f8bc2b30971f1a894; __utma=192840314.1428106426.1248891289.1248891289.1248891289.1; __utmb=192840314; __utmc=192840314; __utmz=192840314.1248891289.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
  
  * HTTP_HOST               : localhost:8000
  
  * HTTP_PRAGMA             : no-cache
  
  * HTTP_REFERER            : http://ali.ba-ravensburg.de/user/show/161
  
  * HTTP_USER_AGENT         : Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090716 Ubuntu/9.04 (jaunty) Firefox/3.5
  
  * HTTP_VERSION            : HTTP/1.1
  
  * HTTP_X_FORWARDED_FOR    : 79.236.53.51
  
  * HTTP_X_FORWARDED_HOST   : ali.ba-ravensburg.de
  
  * HTTP_X_FORWARDED_SERVER : ali.ba-ravensburg.de
  
  * HTTP_X_PROTOTYPE_VERSION: 1.6.0.1
  
  * HTTP_X_REQUESTED_WITH   : XMLHttpRequest
  
  * PATH_INFO               : /user_work_experience/update/298
  
  * RAW_POST_DATA           : company%5Bname%5D=TechniData%20AG&company%5Bjob%5D=Senior%20Software%20Engineer&company%5Bjob_description%5D=Spezifikation%2C%20Design%20und%20Entwicklung%20von%20kundenspezifischen%20Erweiterungen%20und%20neuen%20Produkten%20basierend%20auf%20SAP%20EH%26S.&company%5Bwebsite%5D=http%3A%2F%2Fwww.technidata.com&company%5Bemp_from(3i)%5D=1&company%5Bemp_from(2i)%5D=7&company%5Bemp_from(1i)%5D=2002&company%5Bemp_until(3i)%5D=1&company%5Bemp_until(2i)%5D=12&company%5Bemp_until(1i)%5D=2013&company%5Bemp_status%5D=0
  
  * REMOTE_ADDR             : 127.0.0.1
  
  * REQUEST_METHOD          : POST
  
  * REQUEST_PATH            : /user_work_experience/update/298
  
  * REQUEST_URI             : /user_work_experience/update/298
  
  * SCRIPT_NAME             : /
  
  * SERVER_NAME             : localhost
  
  * SERVER_PORT             : 8000
  
  * SERVER_PROTOCOL         : HTTP/1.1
  
  * SERVER_SOFTWARE         : Mongrel 1.1.5
  
  
  * Process: 13727
  * Server : ali.ba-ravensburg.de

-------------------------------
Backtrace:
-------------------------------

  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract_adapter.rb:147:in `log'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/mysql_adapter.rb:299:in `execute'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/mysql_adapter.rb:429:in `columns'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1145:in `columns_without_gettext'
  /usr/local/lib/ruby/gems/1.8/gems/gettext-1.91.0/lib/gettext/active_record.rb:161:in `columns'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2598:in `attributes_from_column_definition_without_lock'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/locking/optimistic.rb:55:in `attributes_from_column_definition'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2126:in `initialize'
  [RAILS_ROOT]/app/controllers/user_work_experience_controller.rb:81:in `new'
  [RAILS_ROOT]/app/controllers/user_work_experience_controller.rb:81:in `update'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:1162:in `send'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:580:in `call_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/query_cache.rb:8:in `cache'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `send'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `process_without_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session_management.rb:130:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:389:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:149:in `handle_request'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
  /usr/local/bin/mongrel_rails:19:in `load'
  /usr/local/bin/mongrel_rails:19




More information about the Alumnionrails-errors mailing list