This project is archived and is in readonly mode.
ArgumentError in rack-mount route_set.rb
Reported by Paul Sadauskas (Rando) | November 30th, 2009 @ 06:36 PM
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>}]
Comments and changes to this ticket
-
Paul Sadauskas (Rando) November 30th, 2009 @ 07:00 PM
Ok, I figured it out. I was bundling github/rails/rack-mount, and i needed josh/rack-mount, but the gem is also available.
-
josh November 30th, 2009 @ 08:24 PM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>