search for: recognize_path_without_debug

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

2009 Nov 10
10
Un-recognised routes that do exist, using namespaces & subdomain checking
...Foo module RouteSetExtensions def self.included(base) base.alias_method_chain :extract_request_environment, :debug base.alias_method_chain :recognize_path, :debug end def recognize_path_with_debug(path, environment={}) puts path puts environment.to_yaml recognize_path_without_debug(path, environment) end def extract_request_environment_with_debug(request) env = extract_request_environment_without_debug(request) puts env.to_yaml env end end end ActionController::Routing::RouteSet.send :include, Foo::RouteSetExtensions So as you can probably...