Pretty URLs with >= Rails 4.1.2, as using to_param doesn't work anymore
Since Rails 4.1.2 we can't just add a constraint to our routes resource and update the model with;
I've been trying to read all the issues posted to rails on this, but I'm still at a loss on how to do it. For now I haven't updated Rails, which of course isn't healthy.
An episode detailing how this should now be accomplished in 4.1.2 would be great.
Completely agree! I've been wrestling with how to implement a blog-style /YYYY/MM/slug-goes-here URL structure and this approach strikes me as the best way of doing it … but I can't get it done because of the HTML escaping problem.