Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You've been around in the Rails world for a while. You know your way around rails. But you keep hearing this word 'Rack' and don't really understand what it is or what it does for you. You try to read the documentation on the Rack Github repository or the Rails on Rack guides, but the only thing it does is add to the confusion.
I will use Puma, which is the web server that Ruby on Rails ships with.
Now let's run our application using a different server. We'll use Thin, a small, simple, and fast web server.
Since the Rack interface is so simple, anyone can build and publish useful middleware, and the community did build many such components. The rack-contrib project on Github contains a library of these middleware components. Take a look; you will definitely find something useful.