search for: prepare_params

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

2011 Jan 10
0
Can't use ActionDispatch::Request in Rails middleware because path_parameters get lost
...equest.path_parameters'' class Dispatcher #:nodoc: def initialize(options={}) @defaults = options[:defaults] @glob_param = options.delete(:glob) @controllers = {} end def call(env) params = env[PARAMETERS_KEY] prepare_params!(params) For now, I''ve moved to using a Rack::Request object which is a shame because I had to manually extract out the subdomain and the bug wasn''t very intuitive. Let me know if I can help with this. Thanks, Adam -- You received this message because you are subscribed to t...