Articles

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

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
Setup Factory Bot in Rails
3 min read

Setup Factory Bot in Rails

Factory Bot is a ruby library for setting up test data objects in Ruby. Today we will be setting up Factory Bot in Rails which uses RSpec for testing. Factory Bot helps developers to write less cod...

Ruby on rails Factory bot Testing
Integrate Pronto with Gitlab CI for Rails App
8 min read

Integrate Pronto with Gitlab CI for Rails App

There are multiple ways to fix missing top level class documentation comment in Rubocop. You can disable it in your whole app with by disabling cop in the whole project, disable it in one class or ...

Ruby on rails Rubocop Lint Automated code review Gitlab ci
Rubocop Configuration Files for Rails
9 min read

Rubocop Configuration Files for Rails

Rubocop is a linter for Rails. Rubocop helps in enforcing best practices for Ruby and Rails. It helps in maintaining consistency throughout the project. It also has option for autoformatting the co...

Rubocop Ruby on rails
Build Twitter Bot with Ruby
15 min read

Build Twitter Bot with Ruby

Did you know? We can also build bot with Ruby. Today we will be building twitter bot that retweets set of hashtags. We will be using twitter gem which uses Twitter API under the hood.

Bot Tutorial Ruby
Setup Gatsby with Strapi in M1 Mac
30 min read

Setup Gatsby with Strapi in M1 Mac

Setting up strapi with gatsby is straight forward but not while you are setting it up in mac with M1 chip. M1 chip throws so many errors due to software support issues and I am writing this article...

Gatsby Strapi Tutorial

Newsletter

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