Tutorials


Implementing Rails-like Controllers in a No-Rails App
This post shows how you can implement Rails-like controllers in a Ruby-based web application for a better understanding of Rails controllers.In its essence, a controller class in Rails is a coordinator. It accepts the incoming HTTP request and bui...


A comparison of multiple generative AI tools when asking for Ruby on Rails code
In the context of Ruby programming, AI code generator tools offer varying results and sometimes require follow-ups to achieve the desired output. While some tools, like Phind and Github Copilot Chat, provide satisfactory solutions quicker, others ...



Improve your GitHub workflow with better repository defaults
Creating a GitHub repository is one of those “set it and forget it” moments at the start of a project that maybe doesn’t get so much attention. But there are some interesting things buried in the repository settings pages that can improve your tea...


Let's Build a Web Application in Ruby without Rails
Rails is great for building web apps. But it can be quite overwhelming if you don't know how web applications work. In this series of articles, we'll build a simple but complete app in plain Ruby without Rails, to get a deeper understanding and ap...

How to Split a List into N Equal Parts in Ruby (and Rails)
Earlier this week, I wanted to render a list of items on a website in a grid of 3 columns per row. Typically, I'd resort to Tailwind's Grid to accomplish this, but I wanted to do it programmatically in Ruby. While trying to hack a solution with lo...