method

generate

generate()
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/route_set.rb, line 396
        def generate
          path, params = @set.set.generate(:path_info, named_route, options, recall, opts)

          raise_routing_error unless path

          params.reject! {|k,v| !v }

          return [path, params.keys] if @extras

          path << "?#{params.to_query}" if params.any?
          "#{script_name}#{path}"
        rescue Rack::Mount::RoutingError
          raise_routing_error
        end