Concept Flow - JSON rendering
Controller receives request
Prepare data in controller
Call render json: data
Rails converts data to JSON
Send JSON response to client
Rails controller gets a request, prepares data, renders it as JSON, and sends it back to the client.