I’ve been messing around with Rails for the past few months, and I just got through figuring this out so I thought I’d post this here. Sometimes you want to have a dynamic segment in a route. For example: /:username, to allow your users to have vanity urls. You might use something like this: [...]
Pages
Categories