method

follow_redirect!

rails latest stable - Class: ActionController::Integration::Session

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

follow_redirect!()
public

Follow a single redirect response. If the last response was not a redirect, an exception will be raised. Otherwise, the redirect is performed on the location header.