blog

LLMs Made Easy: A Beginner’s Guide to AI-Powered Text

These days, we often hear the term LLM (Large Language Model). If you need help with content writing or coding, someone might say: "Yaar, mai toh content creator hoon, par ab mere paas koi content hi nahi hai!" "Yaar, ye logic samajh hi nahi aa raha, kaise likhu?" Then, your friend—or maybe Pintya sitting beside … Continue reading LLMs Made Easy: A Beginner’s Guide to AI-Powered Text

Mastering Multi-Tenancy in Rails: Scalable Architecture with ActsAsTenant

Modern web applications often need to support multiple organizations or user groups within a single system. Multi-tenancy makes this possible by allowing different tenants to share the same application and database while keeping their data isolated. This approach improves scalability, reduces infrastructure overhead, and simplifies deployment and maintenance. In one of my projects, we had … Continue reading Mastering Multi-Tenancy in Rails: Scalable Architecture with ActsAsTenant

Speed Up Queries with Nested Scopes in Rails

In my recent project, I was working with scopes across various models, and I needed to apply a nested scope for more advanced querying. To achieve this with performant query I used different concepts, this blog is about the same!! Lets revise the basics!Firstly, lets start with what is query optimisation ? Optimising queries is key … Continue reading Speed Up Queries with Nested Scopes in Rails