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

How to Add a root Route in Rails

💡This post is part of my handbook on the Rails Router.The Rails RouterEverything you need to know about the incredible routing system in Rails.

Router 2 min read

How to Redirect Incoming HTTP Requests Using Rails Router

💡This post is part of my handbook on the Rails Router.The Rails RouterEverything you need to know about the incredible routing system in Rails.

Router 1 min read
Accessing raw post data with raw_post in Rails

How to Access Raw POST Data in Rails

This post shows how you can access the raw, unaltered request body using a 20-year old method in the Rails framework (from the founder of Shopify). The `raw_post` method reads the request body, and is useful for web services or API controllers that need to directly work with raw requests.

1 min read

Rails Router: Dynamic Segments and Query Strings

💡This post is part of my handbook on the Rails Router.The Rails RouterEverything you need to know about the incredible routing system in Rails.

Router 3 min read
Polymorphic Associations in Rails

Polymorphic Associations in Rails: Why, What, and How

Polymorphic associations in Rails allow a single model to belong to multiple models. This article covers them in-depth. We'll start with understanding the concept of polymorphism, learn what a polymorphic association is, why we need them, how they work, and how to use them in your Rails application.

12 min read

A Brief Overview of the Rails Routing Config File

The `config/routes.rb` file configures the Rails routing system. This post gives a quick overview of this file with examples.

Router 5 min read

Introduction to the Routing System in Rails

💡This post is part of my handbook on the Rails Router.The Rails RouterEverything you need to know about the incredible routing system in Rails.

Router 2 min read
Shape Up from 37signals

My Notes from Shape Up: Shipping Work that Matters

This post contains my notes and highlights from the Shape Up from 37signals. It contains practical and actionable advice on project management, planning, and actually shipping meaningful work. I found it a great alternative to traditional practices like Agile. Give it a try on your next project!

book-notes 12 min read
Implement Rails-like Integration Tests in Ruby

How to Setup Rails-like Integration Tests in Ruby

In this next post in the Rails Companion series, we'll add support for integration testing to our Ruby web application. Specifically, we'll set up the Minitest framework and simulate HTTP requests using the rack-test gem. Finally, we'll add some syntactic sugar to make our tests just like Rails.

Rails Companion 9 min read
Access Rails Models in Rake Task

How to Access Rails Models in a Rake Task

This article shows how you can access your application models and other constants inside rake tasks by adding the `environment` task as a dependency. We'll also go one level deeper and learn exactly how this task loads the environment by inspecting the Rails source code.

Rails Internals 3 min read
I am Available as a Freelance Developer

I am Available as a Freelance Developer

With my current projects wrapping up, I have the capacity to take on at least one or two new freelance projects, and I can devote my full attention for 20-30 hours each week per project. If you (or your team) are looking for a freelance Ruby and Rails developer, please reach out to me via email.

4 min read
From a Lorry Driver to Ruby on Rails Developer at 38

From a Lorry Driver to Ruby on Rails Developer at 38

I recently had the pleasure to interview Pedro David Garcia Lopez, a Ruby and Rails developer based in UK, who used to be a Lorry driver. What's interesting is that he decided to become a developer at the age of 38. This post shares his story and I hope you find it as inspiring as I did!

Interview 11 min read

Page 4 of 17

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

© Write Software, Well 2025 - Powered by Ghost