sidekiq_monitor icon indicating copy to clipboard operation
sidekiq_monitor copied to clipboard

undefined method `segment_keys' for nil:NilClass

Open 45sound opened this issue 10 years ago • 4 comments

on 0.1.4 visits the page, I get this error Request parameters
{"action"=>"index", "controller"=>"sidekiq/monitor/jobs"}

block (2 levels) in define_generate_prefixactionpack (4.0.5) lib/action_dispatch/routing/mapper.rb

define_method :_generate_prefix do |options| prefix_options = options.slice(*_route.segment_keys) # we must actually delete prefix segment keys to avoid passing them to next url_for _route.segment_keys.each { |k| options.delete(k) } _routes.url_helpers.send("#{name}_path", prefix_options) end

lib/action_dispatch/routing/mapper.rb 549

on rails 4.0.5

45sound avatar Jun 13 '14 12:06 45sound

Adding items to sidekiq worked fine, just visiting the monitor page failed

45sound avatar Jun 13 '14 12:06 45sound

This occurs on rails 4.0.9 and sidekiq_monitor 0.1.5 also.

45sound avatar Aug 23 '14 02:08 45sound

Any update/ideas on this? Best, Vinny

vinnyglennon avatar Feb 20 '15 21:02 vinnyglennon

It's happening for me also. Anyone have an idea?

marciovicente avatar Feb 28 '15 21:02 marciovicente