search for: parameters_key

Displaying 1 result from an estimated 1 matches for "parameters_key".

2011 Jan 10
0
Can't use ActionDispatch::Request in Rails middleware because path_parameters get lost
...uot;action_dispatch.request.path_parameters"] = parameters end You can also see the Router Dispatcher directly grabbing the path_parameters from the environment instead of going to through the request object. #file: action_dispatch/routing/route_set.rb class RouteSet PARAMETERS_KEY = ''action_dispatch.request.path_parameters'' class Dispatcher #:nodoc: def initialize(options={}) @defaults = options[:defaults] @glob_param = options.delete(:glob) @controllers = {} end def call(env) params =...