Rails has been a solid tool for development for the past couple of years that still is evolving thanks to their committed community. One of the principal points I found when starting developing on Ruby on Rails in my early days of developer was the clear structure folder for getting the MVC (Model, View and Controller) in place that just feels right from the start.

A fun way to represent the MVC on the real world it will be thinking on how an MUSICAL ORGANIZATION works, it directed by the Orchestrator (Controller), it has several Musicians (Models) and the result…

On my experience working with several Rails Apps on production for the last couple of years I found some good rules of thumb to fix a slow endpoint on Rails and tools that can help to prevent this kind of problems even before your code is on production.

When you are running a Rails APP on production always the client, customer or finally user will tell you the same “THIS IS SO SLOW” and you will need to take a time to stop, benchmark, make the fix and stop the fire before its to late. Who like midnight call on…

The Lifecycle of a Request on Rails APP

Getting to a website its simple, just enter a website URL on your browser for example “https://www.mydomain.com” and after a couple of seconds a shiny website, content, video, image or whatever that request bring will be display on your browser. For non developers is magic! But for a web developer I think it's crucial to know the real story of a request and learn what happen behind the curtains on his epic journey.

For keep this story short I will explain it from the superficial point of view doing a basic HTTP request to a Rails APP endpoint, but it's…

Jorge Najera

Cofounder at Bolteam & Actiun. Fullstack Engineer, Coffee junkie and Crazycatman.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store