Closed shippy closed 10 years ago
Started GET "/locations/display_report_items?id=1" for 127.0.0.1 at 2014-08-29 20:55:52 -0400
Processing by LocationsController#display_report_items as HTML
Parameters: {"id"=>"1"}
AppConfig Load (0.3ms) SELECT `app_configs`.* FROM `app_configs`
User Load (1.3ms) SELECT `users`.* FROM `users`
User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'sp576' LIMIT 1
Existing local CAS session detected for "sp576". Previous ticket "ST-2286461-5og2zqATxnyumidXfIxM-cas" will be re-used.
CACHE (0.0ms) SELECT `users`.* FROM `users`
Department Load (0.2ms) SELECT `departments`.* FROM `departments` LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'sp576' LIMIT 1
Role Load (0.4ms) SELECT `roles`.* FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 342
Permission Load (0.3ms) SELECT `permissions`.* FROM `permissions` INNER JOIN `permissions_roles` ON `permissions`.`id` = `permissions_roles`.`permission_id` WHERE `permissions_roles`.`role_id` = 3
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
LocGroup Load (0.2ms) SELECT `loc_groups`.* FROM `loc_groups` WHERE `loc_groups`.`department_id` = 1
Department Load (0.2ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 4 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 7 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 10 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 13 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 16 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 19 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 22 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 25 LIMIT 1
CACHE (0.0ms) SELECT `departments`.* FROM `departments` WHERE `departments`.`id` = 1 LIMIT 1
CACHE (0.0ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 1 LIMIT 1
Permission Load (0.2ms) SELECT `permissions`.* FROM `permissions` WHERE `permissions`.`id` = 28 LIMIT 1
Completed 404 Not Found in 51.2ms
ActionController::RoutingError - No route matches {:controller=>"loc_groups"}:
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:540:in `raise_routing_error'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:536:in `rescue in generate'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:528:in `generate'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:569:in `generate'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:594:in `url_for'
actionpack (3.2.19) lib/action_dispatch/routing/url_for.rb:148:in `url_for'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:216:in `department_loc_groups_path'
app/controllers/locations_controller.rb:100:in `loc_group_exists?'
activesupport (3.2.19) lib/active_support/callbacks.rb:539:in `_run__3452338293046477400__process_action__3776322118553710366__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__3988378855198289445__call__3388549337795403684__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
lib/custom_logger.rb:15:in `call'
request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
railties (3.2.19) lib/rails/engine.rb:484:in `call'
railties (3.2.19) lib/rails/application.rb:231:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/Users/jiggoha/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/jiggoha/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/jiggoha/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
I can't replicate this - there's definitely a functional route for department_loc_groups_path
.
Which views are you talking about here?
This was clicking on locations from the Dashboard.
Hmmm, nope, CNR
CNR for me as well
Closing because CNR
I think @shippy meant the Shifts running on http://development.shifts.yale.edu/stcdev The issue should have been fixed in the most updated version
Expected behavior: clicking on a Location displays the list of recent shifts in said location. Current behavior: clicking on a Location results in
ActionController::RoutingError
, becauseredirect_to department_loc_groups_path
doesn't resolve to anything.