class ActionDispatch::Routing::RouteSet
def generate_extras(options, recall = {})
def generate_extras(options, recall = {}) if recall options = options.merge(_recall: recall) end route_name = options.delete :use_route generator = generate(route_name, options, recall) path_info = path_for(options, route_name, []) [URI(path_info).path, generator.params.except(:_recall).keys] end