Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `segment_keys' for nil:NilClass #24

Open
45sound opened this issue Jun 13, 2014 · 4 comments
Open

undefined method `segment_keys' for nil:NilClass #24

45sound opened this issue Jun 13, 2014 · 4 comments

Comments

@45sound
Copy link

45sound commented Jun 13, 2014

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
Copy link
Author

45sound commented Jun 13, 2014

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

@45sound
Copy link
Author

45sound commented Aug 23, 2014

This occurs on rails 4.0.9 and sidekiq_monitor 0.1.5 also.

@vinnyglennon
Copy link

Any update/ideas on this?
Best,
Vinny

@marciovicente
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants