{"action":"created","issue":{"url":"https://api.github.com/repos/samchen2009/ekanban/issues/86","labels_url":"https://api.github.com/repos/samchen2009/ekanban/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/samchen2009/ekanban/issues/86/comments","events_url":"https://api.github.com/repos/samchen2009/ekanban/issues/86/events","html_url":"https://github.com/samchen2009/ekanban/issues/86","id":65483579,"number":86,"title":"undefined method `find_all_by_tracker_id' [Redmine 3.0.1]","user":{"login":"crick3t","id":8224230,"avatar_url":"https://avatars.githubusercontent.com/u/8224230?v=3","gravatar_id":"","url":"https://api.github.com/users/crick3t","html_url":"https://github.com/crick3t","followers_url":"https://api.github.com/users/crick3t/followers","following_url":"https://api.github.com/users/crick3t/following{/other_user}","gists_url":"https://api.github.com/users/crick3t/gists{/gist_id}","starred_url":"https://api.github.com/users/crick3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crick3t/subscriptions","organizations_url":"https://api.github.com/users/crick3t/orgs","repos_url":"https://api.github.com/users/crick3t/repos","events_url":"https://api.github.com/users/crick3t/events{/privacy}","received_events_url":"https://api.github.com/users/crick3t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-31T15:53:53Z","updated_at":"2015-04-07T16:32:20Z","closed_at":null,"body":"Hi,\r\n\r\nWe have tried to install this plugin with Redmine 3.0.1 and we almost done it (after spending a day on the install... :) ).\r\nUnfortunately we stuck at an error (see below). \r\n\r\nDoes anyone know what is the issue here and how to solve it.\r\nThanks in advance.\r\n\r\nStarted GET \"/redmine/kanban_states/setup\" for 127.0.0.1 at 2015-03-31 16:34:47 +0100\r\nProcessing by KanbanStatesController#setup as HTML\r\n  Current user: admin (id=1)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_state_list.html.haml (4.0ms)\r\n  Rendered plugins/ekanban/app/views/common/_tabs.html.erb (5.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/index.html.haml within layouts/base (7.0ms)\r\nCompleted 500 Internal Server Error in 12ms\r\n\r\nActionView::Template::Error (undefined method `find_all_by_tracker_id' for #<Class:0x5ca8cb8>):\r\n    3: - trackers = Tracker.all\r\n    4: - trackers.each do |t|\r\n    5:   %h3= \"Tracker #{t.name}\"\r\n    6:   - states = KanbanState.find_all_by_tracker_id(t.id)\r\n    7:   - if !states.nil?\r\n    8:     %table{:id => \"kanban_state_#{t.id}\",:class => \"list\"}\r\n    9:       %thead\r\n  activerecord (4.2.0) lib/active_record/dynamic_matchers.rb:26:in `method_missing'\r\n  plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6:in `block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___350479890_47900868'\r\n  D:in `each'\r\n  D:in `each'\r\n  plugins/ekanban/app/views/kanban_states/_state_list.html.haml:4:in `_plugins_ekanban_app_views_kanban_states__state_list_html_haml___350479890_47900868'\r\n  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:143:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render'\r\n  actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'\r\n  haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'\r\n  plugins/ekanban/app/views/common/_tabs.html.erb:23:in `block in _plugins_ekanban_app_views_common__tabs_html_erb__88145661_50908020'\r\n  plugins/ekanban/app/views/common/_tabs.html.erb:22:in `each'\r\n  plugins/ekanban/app/views/common/_tabs.html.erb:22:in `_plugins_ekanban_app_views_common__tabs_html_erb__88145661_50908020'\r\n  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:143:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render'\r\n  actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'\r\n  haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'\r\n  haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'\r\n  haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'\r\n  plugins/ekanban/app/views/kanban_states/index.html.haml:3:in `_plugins_ekanban_app_views_kanban_states_index_html_haml__975218400_50875932'\r\n  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:143:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'\r\n  actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'\r\n  actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'\r\n  actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'\r\n  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'\r\n  D:/Bitnami_Redmine/ruby/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'\r\n  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'\r\n  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'\r\n  plugins/ekanban/app/controllers/kanban_states_controller.rb:28:in `setup'\r\n  actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\r\n  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'\r\n  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'\r\n  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'\r\n  rack (1.6.0) lib/rack/etag.rb:24:in `call'\r\n  rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'\r\n  rack (1.6.0) lib/rack/head.rb:13:in `call'\r\n  actionpack-xml_parser (1.0.1) lib/action_dispatch/xml_params_parser.rb:16:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\n  activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'\r\n  activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n  rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'\r\n  rack (1.6.0) lib/rack/runtime.rb:18:in `call'\r\n  activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'\r\n  rack (1.6.0) lib/rack/sendfile.rb:113:in `call'\r\n  railties (4.2.0) lib/rails/engine.rb:518:in `call'\r\n  railties (4.2.0) lib/rails/application.rb:164:in `call'\r\n  railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'\r\n  railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'\r\n  rack (1.6.0) lib/rack/urlmap.rb:66:in `block in call'\r\n  rack (1.6.0) lib/rack/urlmap.rb:50:in `each'\r\n  rack (1.6.0) lib/rack/urlmap.rb:50:in `call'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:82:in `block in pre_process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:in `catch'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:in `pre_process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:55:in `process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:41:in `receive_data'\r\n  eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run_machine'\r\n  eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/backends/base.rb:73:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/server.rb:162:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/controllers/controller.rb:87:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:200:in `run_command'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:156:in `run!'\r\n  thin-1.6.1-x86 (mingw32) bin/thin:6:in `<top (required)>'\r\n  bin/thin:16:in `load'\r\n  bin/thin:16:in `<main>'\r\n "},"comment":{"url":"https://api.github.com/repos/samchen2009/ekanban/issues/comments/90635997","html_url":"https://github.com/samchen2009/ekanban/issues/86#issuecomment-90635997","issue_url":"https://api.github.com/repos/samchen2009/ekanban/issues/86","id":90635997,"user":{"login":"crick3t","id":8224230,"avatar_url":"https://avatars.githubusercontent.com/u/8224230?v=3","gravatar_id":"","url":"https://api.github.com/users/crick3t","html_url":"https://github.com/crick3t","followers_url":"https://api.github.com/users/crick3t/followers","following_url":"https://api.github.com/users/crick3t/following{/other_user}","gists_url":"https://api.github.com/users/crick3t/gists{/gist_id}","starred_url":"https://api.github.com/users/crick3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crick3t/subscriptions","organizations_url":"https://api.github.com/users/crick3t/orgs","repos_url":"https://api.github.com/users/crick3t/repos","events_url":"https://api.github.com/users/crick3t/events{/privacy}","received_events_url":"https://api.github.com/users/crick3t/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T16:32:19Z","updated_at":"2015-04-07T16:32:19Z","body":"Hi prmartinuk,\r\n\r\nThanks for your answer. We've tried it out and it started to work, or at least we do not have that error anymore. \r\nHowever now we have other issues.\r\n\r\n### When I create a new Kanban Stage the tool creates it, but the list shows rows with empty name and description.\r\n\r\nStarted POST \"/redmine/kanban_stages\" for 127.0.0.1 at 2015-04-07 17:24:50 +0100\r\nProcessing by KanbanStagesController#create as HTML\r\n  Parameters: {\"utf8\"=>\"âœ“\", \"authenticity_token\"=>\"K9K0d+fbCpyS79FWxLBwVw77DVqYHEMphCASg34R43LETm4wHZxrG7AJgeNM5BDyr5eDWyTsPSnbiN7pJUC29g==\", \"kanban_stage\"=>{\"name\"=>\"Test\", \"description\"=>\"Test\"}, \"commit\"=>\"Create\"}\r\n  Current user: admin (id=1)\r\nWARNING: Can't mass-assign protected attributes for KanbanStage: name, description\r\n\r\n  Rendered plugins/ekanban/app/views/kanban_stages/index.html.haml within layouts/base (9.0ms)\r\nCompleted 200 OK in 391ms (Views: 206.0ms | ActiveRecord: 72.0ms)\r\nStarted GET \"/redmine/kanban_states/setup?tab=Stages\" for 127.0.0.1 at 2015-04-07 17:24:51 +0100\r\nProcessing by KanbanStatesController#setup as HTML\r\n  Parameters: {\"tab\"=>\"Stages\"}\r\n  Current user: admin (id=1)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___418157488_50939028 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___418157488_50939028 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___418157488_50939028 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___418157488_50939028 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from block in _plugins_ekanban_app_views_kanban_states__state_list_html_haml___418157488_50939028 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_state_list.html.haml:6)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_state_list.html.haml (11.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_stage_list.html.haml (6.0ms)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from _plugins_ekanban_app_views_kanban_states__maps_form_html_haml__492921406_31465992 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_maps_form.html.haml:4)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps_form.html.haml (4.0ms)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from _plugins_ekanban_app_views_kanban_states__maps_form_html_haml__492921406_31465992 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_maps_form.html.haml:4)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps_form.html.haml (2.0ms)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from _plugins_ekanban_app_views_kanban_states__maps_form_html_haml__492921406_31465992 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_maps_form.html.haml:4)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps_form.html.haml (3.0ms)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from _plugins_ekanban_app_views_kanban_states__maps_form_html_haml__492921406_31465992 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_maps_form.html.haml:4)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps_form.html.haml (2.0ms)\r\nDEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.where(...).all instead. (called from _plugins_ekanban_app_views_kanban_states__maps_form_html_haml__492921406_31465992 at D:/Bitnami_Redmine/apps/redmine/htdocs/plugins/ekanban/app/views/kanban_states/_maps_form.html.haml:4)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps_form.html.haml (3.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_maps.html.haml (20.0ms)\r\n  Rendered plugins/ekanban/app/views/common/_tabs.html.erb (40.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/index.html.haml within layouts/base (40.0ms)\r\nCompleted 200 OK in 61ms (Views: 52.0ms | ActiveRecord: 4.0ms)\r\n\r\n### After this when we try to create a Kanban State we receive the following internal error:\r\n\r\nStarted GET \"/redmine/trackers/1/kanban_states/new\" for 127.0.0.1 at 2015-04-07 17:28:02 +0100\r\nProcessing by KanbanStatesController#new as HTML\r\n  Parameters: {\"tracker_id\"=>\"1\"}\r\n  Current user: admin (id=1)\r\n  Rendered plugins/ekanban/app/views/kanban_states/_form.html.haml (10.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/new.html.haml within layouts/base (81.0ms)\r\nCompleted 200 OK in 139ms (Views: 98.0ms | ActiveRecord: 9.0ms)\r\nStarted POST \"/redmine/trackers/1/kanban_states\" for 127.0.0.1 at 2015-04-07 17:28:14 +0100\r\nProcessing by KanbanStatesController#create as HTML\r\n  Parameters: {\"utf8\"=>\"âœ“\", \"authenticity_token\"=>\"HKaHkMPbP86aIQd2x+UvLgRvaFCnOn6RXlQ+qDJWH33zOl3XOZxeSbjHV8NPsU+LpQPmURvKAJEB/PLCaQdK+Q==\", \"kanban_state\"=>{\"name\"=>\"Test State\", \"tracker_id\"=>\"1\", \"stage_id\"=>\"1\", \"is_default\"=>\"1\", \"is_initial\"=>\"1\", \"is_closed\"=>\"0\", \"description\"=>\"\"}, \"commit\"=>\"Create\", \"tracker_id\"=>\"1\"}\r\n  Current user: admin (id=1)\r\nWARNING: Can't mass-assign protected attributes for KanbanState: name, tracker_id, stage_id, is_default, is_initial, is_closed, description\r\n\r\n  Rendered plugins/ekanban/app/views/kanban_states/_form.html.haml (6.0ms)\r\n  Rendered plugins/ekanban/app/views/kanban_states/new.html.haml within layouts/base (10.0ms)\r\nCompleted 500 Internal Server Error in 47ms\r\n\r\nActionView::Template::Error (undefined method `id' for nil:NilClass):\r\n    1: = labelled_form_for :kanban_state, @state, :url =>  @state.id.nil? ? tracker_kanban_states_path(@tracker.id) : tracker_kanban_state_path(@tracker.id, @state.id), :html => {:id => 'kanban-state-form'} do |f|\r\n    2:   .box.tabular\r\n    3:     %p= f.text_field :name, :size => 30, :required => true\r\n    4:     %p= f.select :tracker_id, options_from_collection_for_select(@trackers, \"id\", \"name\", @tracker.id), :label => l(:label_tracker), :required=>true\r\n  plugins/ekanban/app/views/kanban_states/_form.html.haml:1:in `_plugins_ekanban_app_views_kanban_states__form_html_haml___688133908_44342208'\r\n  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:143:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render'\r\n  actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'\r\n  haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'\r\n  haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'\r\n  haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'\r\n  plugins/ekanban/app/views/kanban_states/new.html.haml:3:in `_plugins_ekanban_app_views_kanban_states_new_html_haml__577768169_44010600'\r\n  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'\r\n  actionview (4.2.0) lib/action_view/template.rb:143:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'\r\n  actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'\r\n  actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'\r\n  actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'\r\n  actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'\r\n  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'\r\n  D:/Bitnami_Redmine/ruby/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'\r\n  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'\r\n  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'\r\n  plugins/ekanban/app/controllers/kanban_states_controller.rb:16:in `create'\r\n  actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'\r\n  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'\r\n  actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\r\n  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'\r\n  actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'\r\n  actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\r\n  actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'\r\n  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'\r\n  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'\r\n  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'\r\n  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'\r\n  rack (1.6.0) lib/rack/etag.rb:24:in `call'\r\n  rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'\r\n  rack (1.6.0) lib/rack/head.rb:13:in `call'\r\n  actionpack-xml_parser (1.0.1) lib/action_dispatch/xml_params_parser.rb:16:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'\r\n  rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\n  activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'\r\n  activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'\r\n  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'\r\n  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'\r\n  railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n  rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'\r\n  rack (1.6.0) lib/rack/runtime.rb:18:in `call'\r\n  activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n  actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'\r\n  rack (1.6.0) lib/rack/sendfile.rb:113:in `call'\r\n  railties (4.2.0) lib/rails/engine.rb:518:in `call'\r\n  railties (4.2.0) lib/rails/application.rb:164:in `call'\r\n  railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'\r\n  railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'\r\n  rack (1.6.0) lib/rack/urlmap.rb:66:in `block in call'\r\n  rack (1.6.0) lib/rack/urlmap.rb:50:in `each'\r\n  rack (1.6.0) lib/rack/urlmap.rb:50:in `call'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:82:in `block in pre_process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:in `catch'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:in `pre_process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:55:in `process'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:41:in `receive_data'\r\n  eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run_machine'\r\n  eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/backends/base.rb:73:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/server.rb:162:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/controllers/controller.rb:87:in `start'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:200:in `run_command'\r\n  thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:156:in `run!'\r\n  thin-1.6.1-x86 (mingw32) bin/thin:6:in `<top (required)>'\r\n  bin/thin:16:in `load'\r\n  bin/thin:16:in `<main>'"}}