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

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

How to Debug Ruby Code

For a long time, I delayed learning Ruby as I didn’t know how to debug Ruby code. Coming from a .NET background, I was

4 min read

How to Test Rails Source Code

One of the best ways to understand any codebase is to read the tests, and Rails is no exception. In this post, we will learn

2 min read

Include and Extend

Here’s a neat trick I learned today. Typically, when a class includes a module, the module methods become instance methods on the including class.

1 min read

Modifying Objects in Place

Every time you create or copy something in memory, you add work for GC. Here are some tips from the book Ruby Performance Optimization to

1 min read

Class Metaprogramming in Ruby

A Ruby class definition is just regular code that runs. When you use the class keyword to create a class, you aren’t just dictating

2 min read
block, proc, and lambda

How to Implement Callbacks in Ruby

There are at least three places in Ruby where you can package code to be executed later. In a block, a proc/lambda, and a

3 min read

A List of Middleware Used by Rails

Here’s a list of middleware Rails uses in a development environment. You can view the middleware by running the bin/rails middleware command from

3 min read

Caching in Rails

These are the notes I took while reading the Rails caching guide. Caching is one of the most effective ways to boost an application’s

2 min read

A Brief Introduction to Rake

Rake is a task runner written in Ruby. It performs repetitive tasks, such as 1. Making database backup 2. Running tests 3. Watch for file

2 min read

Page 16 of 16

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

© Write Software, Well 2025 - Powered by Ghost