Remote Ruby cover image

Concurrency Problems Bro

Remote Ruby

00:00

Is There a Way to Use the Routing Constraints?

A routing constraint is a class that returns true or false in your routes. It can also be used to look at the request and say, oh, this is for a not WWW subdomain. So you can use that on the routing level and change the routes that are available. But you can also use that in your views. If you want to reuse them for your application and for the customer facing side of things, you can just reuse them anywhere you want.

Play episode from 25:20
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app