Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ArgumentError in rack-mount route_set.rb

#3522

Backtrace:

ArgumentError
.../escdef/vendor/gems/dirs/rack-mount/lib/rack/mount/generation/route_set.rb:136:in `extract_params!'
.../escdef/vendor/gems/dirs/rack-mount/lib/rack/mount/generation/route_set.rb:36:in `url'
.../escdef/vendor/gems/dirs/rails/actionpack/lib/action_dispatch/routing/route_set.rb:387:in `generate'

ActionDispatch, routing/route_set.rb, line 387 passes 4 args to rack-mount's route_set.rb, which raises an argument error in extract_params!. The args appear to be a string and 3 hashes, so perhaps all thats needed is a merge of the hashes? Here's #pp of the args triggering the ArgError:

["escalation_definitions",
 {:controller=>"escalation_definitions"},
 {:action=>"index"},
 {:parameterize=>
   #<Proc:0x00007fe04ee30a68@/home/rando/development/api/escdef/vendor/gems/dirs/rails/actionpack/lib/action_dispatch/routing/route_set.rb:377>}]

Reported by Paul Sadauskas (Rando) · November 30th, 2009 @ 06:36 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. Paul Sadauskas (Rando)
    Paul Sadauskas (Rando)

    Ok, I figured it out. I was bundling github/rails/rack-mount, and i needed josh/rack-mount, but the gem is also available.

    November 30th, 2009 @ 07:00 PM

  2. josh
    josh
    • State changed from new to resolved

    November 30th, 2009 @ 08:24 PM