How a Ruby Method Becomes a Rails Action: Part One

from blog Write Software, Well, | ↗ original
In this post, we will explore how a simple Ruby method, when added to a controller, becomes an action in Rails, ready to process incoming HTTP requests and send responses. We'll also trace the path of an incoming HTTP request to a Rails controller action.