How Rails Turns a Controller Action Into a Response
Rails controller actions do not return HTTP responses directly. They perform response state through render, redirect_to, head, or implicit rendering, and Rails turns that into status, headers, and body.
https://railsrevelry.substack.com/p/how-rails-turns-a-controller-action-into-response
Post a comment