Articles

Technical articles about Ruby on Rails, web development and software engineering. For smaller, more regular tidbits — see the notes section.

Build a RAG App for Documentation Q&A using Rails
12 min read

Build a RAG App for Documentation Q&A using Rails

Learn how to build your first RAG app with Rails, Ruby LLM, and Ollama so you can ask questions and get answers from your own blog content using a local LLM model.

Ruby on rails Ollama Rag Ruby llm Ai
Configure Minitest with Gitlab CI and Rails
9 min read

Configure Minitest with Gitlab CI and Rails

Running tests in CI is a very important step to make sure there are no breaking changes in the new code. Today we will look at configuring Gitlab CI to run tests for Ruby on Rails applications writ...

Ruby on rails Minitest Gitlab ci
Setup RSpec Tests in Rails with Gitlab CI
9 min read

Setup RSpec Tests in Rails with Gitlab CI

Running tests in CI is a very important step to make sure there are no breaking changes in the new code. Today we will look at configuring Gitlab CI to run RSpec tests for Ruby on Rails applications.

Ruby on rails Rspec Gitlab ci
Setup Active Job with Sidekiq in Rails
7 min read

Setup Active Job with Sidekiq in Rails

Active Job is a framework for declaring jobs and making them run on a variety of queuing backends while sidekiq is a battle tested gem that does the same thing. Rails provides an easy way to setup ...

Ruby on rails
Deploy API only Rails App with Capistrano
8 min read

Deploy API only Rails App with Capistrano

Capistrano provides a one line command deployment to remote servers. In this tutorial, we will be looking at how we can setup capistrano with our Rails application and deploy the app to remote server.

Ruby on rails
Setup Action Mailbox with SendGrid
14 min read

Setup Action Mailbox with SendGrid

Action mailbox can be used to forward all incoming emails to our Rails app and process them further. In this tutorial, we will be looking at the implementation and setup steps for making action mai...

Ruby on rails Tutorial Web development
Run ESLint on git commit with Husky and Lint Staged
6 min read

Run ESLint on git commit with Husky and Lint Staged

How do you make sure every member in your team follows best coding practices and never commits code with issues to remote repository? Answer is using Husky package and git hooks. You can configure ...

Reactjs Git
Run RuboCop on git commit with Overcommit Gem
6 min read

Run RuboCop on git commit with Overcommit Gem

How do you make sure every member in your team follows best coding practices and never commits code with issues to remote repository? Answer is overcommit gem and git hooks. You can configure overc...

Ruby on rails Rubocop
Beginner's Guide to RuboCop in Rails
6 min read

Beginner's Guide to RuboCop in Rails

RuboCop is a static code analyzer which analyzes the code based on the best practices followed by the Ruby developers around the world and defined on the community Ruby style guide. In this article...

Ruby on rails Rubocop

Newsletter

Get occasional updates whenever I publish a new article or start a new project. No spam, I promise.