Flowdock
method

post_via_redirect

Importance_1
v1.2.6 - Show latest stable - 1 note - Class: ActionController::Integration::Session
post_via_redirect(path, args={}) public

Performs a POST request, following any subsequent redirect. This is vulnerable to infinite loops, the same as #get_via_redirect.

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}})