Don't REST on your Laurels
RESTful Routes 🔗
You can find many resources trumpeting the benefits of following RESTful routes in the context of a Rails application. I want to focus on my personal favorite benefit:
Adherence to the default RESTful actions creates a constraint, and is a noticeable heuristic, that aids in limiting the surface area of classes.
Planting an example 🔗
Let’s say we have an application that tracks people’s accomplishments. We call each instance of an accomplishment a laurel wreath. We love ourselves a metaphor.
class LaurelWreathsController < ApplicationController def show @laurel_wreath = LaurelWreath.find(params[:id]) endendThis is one of the mappings of HTTP verb and URL to controller action that…


…
Unless: The Ruby Way to Not Say No















Photo by ![[5/4] Code with LLMs and strong Success Criteria](https://digitalpress.fra1.cdn.digitaloceanspaces.com/xhtzjbw/2025/11/coding-cooks-5_4.png)






A man drawing circles of a Venn diagram on a white board
Visit railsblocks.com and make your Rails app more delightful today