Skip to content
Write Software, Well
  • Services
  • Books
  • LinkedIn
  • Archive
  • About
Sign in Subscribe

Useful Ruby Gems

Although Rails provides great defaults out-of-the-box, you can easily extend it with Ruby gems. Here are some gems that I find myself using every time

2 min read
How to Access Route Helpers from Rails Console and Models

How to Access Route Helpers from Rails Console and Models

This post shows a simple way to check the output of URL and path helpers directly from the Rails console. We will also see how to access these helpers in your models.

2 min read

Why Turbo Uses Event Capturing

💡If you are interested in learning about Hotwire, check out my crash-course on Hotwire's Turbo framework. I was reading the source of the

Hotwire 1 min read

Why Choose `let` Over instance variables in RSpec

Repetitive setup code in tests makes it difficult to refactor the tests. It also distracts and shifts our focus from the business logic that we’

2 min read
Inline Editing

Inline Edits using Turbo Frames

This post explains how to use Turbo Frames to make your web application behave like a Single-Page Application without using any JavaScript.

Hotwire 5 min read

Turbo Drive Essentials

💡If you are interested in learning about Hotwire, check out my crash-course on Hotwire's Turbo framework. I spent the last night reading up

Hotwire 3 min read

Launching Multiple Processes with a Single Command in Rails

An application doesn’t exist in isolation. Usually, it depends on other processes to work correctly, such as a database, JavaScript / CSS compilers, Redis, etc.

1 min read
class_eval vs. instance_eval

class_eval vs. instance_eval in Ruby

This post explains the difference between class_eval and instance_eval methods in Ruby. If you keep getting confused between them when reading or writing

Ruby Gems 3 min read

How to Setup Tailwind 3 on Rails

Update: Tailwind documentation has since added the installation steps with Rails. Even though the official Tailwind documentation has installation instructions for various client-side frameworks, it

1 min read

Couldn't Find Handler For: puma, thin, falcon, webrick

This morning, I was trying to learn Rack and how Rails uses it. So I created a new gem using the bundle gem command. Then

1 min read

All the Database Tasks in Rails

Once you start programming in Rails, you inevitably come across db:migrate, which applies the migration to your database. Then you make a mistake and

3 min read

How to Drop a Table in Rails

So you created a migration to add a table that you thought you were going to need. You also ran that migration so that table

1 min read

Page 16 of 17

Load More Something went wrong with loading more posts
  • Sign up
  • Homepage

© Write Software, Well 2025 - Powered by Ghost