Articles

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

Configure Minitest with Gitlab CI and Rails
15 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
17 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
11 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
15 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
18 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
8 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
7 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
17 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
Search Engine with Rails
16 min read

Search Engine with Rails

Yes! You can create a full functioning search engine with Rails. In this tutorial you will be learning how to create a search engine with Rails by using elasticsearch. You will learn to configure e...

Ruby on rails
Live Stream Logs to Browser with Rails
12 min read

Live Stream Logs to Browser with Rails

Live streaming files content to browser in Rails can be accomplished with the use of Server Side Events. In this tutorial, we will be learning to live stream content inside log files to the browser...

Ruby on rails

Newsletter

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