class ActionDispatch::Routing::RouteSet

def extra_keys(options, recall = {})

the keys that were not used to generate it.
Generate the path indicated by the arguments, and return an array of
def extra_keys(options, recall = {})
  generate_extras(options, recall).last
end