Update actionpack/lib/action_dispatch/routing/route_set.rb

Use keys.zip(args) instead of args.zip(keys) as the latter one can sometimes lead to an options hash like:
{nil => Model}
which in turn will raise an exception when trying to convert to_param.