Ruby on Rails latest stable (v5.2.3) - 1 note - 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.

post_via_redirect(path, parameters = nil, headers = nil) public

Performs a POST request, following any subsequent redirect. See request_via_redirect for more information.

Show source
Register or log in to add new notes.
December 5, 2012 - (v3.2.8)
1 thank

post user authentication info to sessions create action

post_via_redirect(“sessions”, {:user=>{:email=> user.email, :password => user.password}})