Anyone remember when “redirect after HTTP post” was considered a best practice?
Consider standard Rails form handling, which doesn't do this:
if @model.invalid?
render :edit
else
redirect_to model_path(@model)
end
In the error case, reloading is convenient for dev, but problematic for users (they shouldn't have to decide to resubmit the request).
BUT, if you redirect after POST, when there are errors, how does all that get to the next page? [1/?]