    # File lib/action_controller/base.rb, line 837
          def redirect_to(options = {}, *parameters_for_method_reference) #:doc:
            case options
              when %r{^\w+://.*}
                raise DoubleRenderError if performed?
                logger.info("Redirected to #{options}") if logger
                response.redirect(options)
                response.redirected_to = options
                @performed_redirect = true

              when String
                redirect_to(request.protocol + request.host_with_port + options)

              when :back
                request.env["HTTP_REFERER"] ? redirect_to(request.env["HTTP_REFERER"]) : raise(RedirectBackError)

              else
                if parameters_for_method_reference.empty?
                  redirect_to(url_for(options))
                  response.redirected_to = options
                else
                  redirect_to(url_for(options, *parameters_for_method_reference))
                  response.redirected_to, response.redirected_to_method_params = options, parameters_for_method_reference
                end
            end
          end