thomasklein / redmine2mite

Redmine2mite connects your Redmine account with your mite.account. Track your time easily on issues within Redmine and get them automatically send to mite.
http://mite.yo.lk/
MIT License
13 stars 6 forks source link

NoMethodError undefined method `mite_connection_updated_on' #26

Closed bjo81 closed 12 years ago

bjo81 commented 12 years ago

I get the following error running the plugin on Redmine 1.4.3.stable.9852:

Processing MiteController#index (for 212.255.45.xxx at 2012-07-26 17:23:22) [GET] Parameters: {"action"=>"index", "controller"=>"mite"}

NoMethodError (undefined method mite_connection_updated_on' for #<ActiveRecord::Associations::HasOneAssociation:0x7f0ad59ddf78>): /usr/lib/ruby/vendor_ruby/active_record/associations/association_proxy.rb:217:inmethod_missing' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:178:in send' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:178:inevaluate_method' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:195:in should_run_callback?' /usr/lib/ruby/vendor_ruby/active_record/base.rb:2236:inall?' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:195:in each' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:195:inall?' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:195:in should_run_callback?' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:157:inshould_run_callback?' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in call' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:225:incall' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:629:in run_before_filters' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:615:incall_filters' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:610:in perform_action_without_benchmark' /usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /usr/lib/ruby/vendor_ruby/action_controller/rescue.rb:160:inperform_action_without_flash' /usr/lib/ruby/vendor_ruby/action_controller/flash.rb:151:in perform_action' /usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:insend' /usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:in process_without_filters' /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:606:inprocess' /usr/lib/ruby/vendor_ruby/action_controller/base.rb:391:in process' /usr/lib/ruby/vendor_ruby/action_controller/base.rb:386:incall' /usr/lib/ruby/vendor_ruby/action_controller/routing/route_set.rb:438:in call' /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:87:indispatch' /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:121:in _call' /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:130:inbuild_middleware_stack' /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:in call' /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:incall' /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:9:incache' /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:28:in call' /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:361:incall' /usr/lib/ruby/vendor_ruby/action_controller/string_coercion.rb:25:in call' /usr/lib/ruby/vendor_ruby/rack/head.rb:9:incall' /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in call' /usr/lib/ruby/vendor_ruby/action_controller/params_parser.rb:15:incall' /usr/lib/ruby/vendor_ruby/action_controller/session/cookie_store.rb:99:in call' /usr/lib/ruby/vendor_ruby/action_controller/failsafe.rb:26:incall' /usr/lib/ruby/vendor_ruby/rack/lock.rb:15:in call' /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:106:incall' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in process_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:321:instart_request_handler' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:275:in send' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:275:inhandle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in safe_fork' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:270:inhandle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in __send__' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in start_synchronously' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:instart' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:149:in start' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:219:inspawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:214:inspawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:in synchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:insynchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:213:in spawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:132:inspawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:in handle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:insend' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in server_main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:instart_synchronously' /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99

bjo81 commented 12 years ago

Blame on myself, forgot to execute 'rake db:migrate_plugins'

thomasklein commented 12 years ago

;)