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

Nested Modules in Ruby

There are two different ways to define nested modules in Ruby. This post explains them both along with the differences between them and how to decide which one to use. We will also learn about the `Module.nesting` method, which returns the list of nesting for a module.

Ruby Gems 3 min read
Reading a file in Ruby

How to Read a File in Ruby

Reading a file is a simple yet common programming task that can be accomplished in a few different ways in Ruby. In this post, we're going to cover the basics of reading files in Ruby, including few different ways to open and read files, both in-memory and via streaming.

4 min read
coral reef deep dive

Rails Internals: A Deep Dive Into Active Job Codebase

Do you want to understand how Active Job works behind the scenes? Reading and understanding the source code is one of the best ways to learn a framework (or anything). This post breaks it all down for you by tracing the journey of a Rails background job, from its creation to execution.

Rails Internals 10 min read
Working with SQLite in Ruby

Working with SQLite in Ruby

SQLite is an incredibly simple yet powerful database both for beginners and advanced users to learn SQL as well as build applications (both desktop and web) that need to store data. In this post, we're going to cover the basics of working with SQLite in Ruby.

6 min read
How respond_to method works in Rails

How respond_to Method Works in Rails

The respond_to method allows the controller to select the appropriate response format based on the request's Accept header or the request URL. You can also use it to handle variants for different screens. This post covers the basics of this method: what it is, how it works and why it's important.

6 min read
Linux Command Line: CDPATH

CDPATH: Easily Navigate Directories in the Terminal

The CDPATH environment variable lets you pre-configure frequently used directories so you can easily navigate into them from anywhere in your file system. This blog post shows how it works and how to use it.

2 min read
Hotwire Course

Announcing: Crash Course on Turbo (Hotwire) Framework

Announcing the pre-release of an introductory mini-guide for everyone interested in Hotwire and part of a bigger, more comprehensive, paid Hotwire course that I plan to release next year. This course provides a brief introduction to Hotwire with hands-on, practical projects.

3 min read
Custom validation errors in Rails

How to Customize Rails Validation Errors to Remove Leading Attribute Column Names

Rails validations is an elegant way to verify the model state before it's saved into the database. Often, you want to provide a custom, user-friendly error message to the user. In this post, we'll learn how to accomplish this with custom validation methods.

3 min read
Return 404 Not Found in Rails

How to Return 404 Not Found Error in Rails

In this post, we'll learn about the HTTP 404 Not Found error: what it is and how it works, how to return a 404 response from a Rails application with a custom error page, and understand the impact of 404 errors on the SEO for your website or web application.

5 min read
Daniela Baron - Staff Engineer at Fundthrough

Interview with Daniela Baron, Staff Engineer at FundThrough

I recently had the pleasure to interview Daniela Baron, a Ruby and Rails developer and staff engineer at FundThrough, a fintech company based in Toronto. It contains a lot of interesting and thoughtful answers as well as a ton of high-quality recommendations for books and podcasts. Enjoy!

Interview 11 min read
Akshay's Blog -> Write Software, Well

Akshay's Blog is now Write Software, Well

This blog is about writing as much as it is about software development. After two years, 130 posts, and hundreds of thousands of readers, the blog has outgrown my personal domain and needs a new home. Welcome to "Write Software, Well".

4 min read
Base64 Encoding and Decoding in Ruby

Base64 Encoding, Explained

Base64 is an elegant way to convert binary data to text, making it easy to store and transport. This article covers the basics of Base64 encoding, including what it is, how it works and why it's important. It also shows how to encode and decode Base64 data in various programming languages.

5 min read

Page 7 of 17

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

© Write Software, Well 2025 - Powered by Ghost