Skip to content
Write Software, Well
  • Services
  • Books
  • LinkedIn
  • Archive
  • About
Sign in Subscribe
Map a Resourceful Route in Rails to Another Controller Class

Map a Resourceful Route in Rails to Another Controller Class

💡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
Nested Resources in Rails

Working with Nested Resources in Ruby on 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 3 min read
List and Filter Routes in Rails

How to List and Filter Routes in Ruby on 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
Match Method in Rails Router

Understanding the Match Method in Rails Router

In this post, we will learn about the match method, which forms the core of the Rails router. We'll also explore how the match method works behind the scenes. Once you really understand the match method and its options, the rest of the routing methods and shorthands become very easy to understand.

Router 5 min read
How to Override the Named Route Parameter ID in Rails

How to Override the Named Route Parameter ID 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 3 min read
Rails Named Routes

Understanding Named Routes 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
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

Page 4 of 18

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

© Write Software, Well 2025 - Powered by Ghost