render Returns view
redirect_to Go to routes and search for routes that correspond to the argument
→ As a usage, I want to process "I want to run error processing on the controller when an error occurs" or "I do not want to display it in the view, but I want to run the action of the controller internally" Sometimes used.
https://qiita.com/january108/items/54143581ab1f03deefa1
Recommended Posts