to_param, the Best Method Ever

If you want to create vanity URLs, and who doesn't, then to_param is the method for you...

Jul 15, 2014 on Rails Ruby Prettyurls  1

You're so vain, you probably think this URL is about you.

In Ruby on Rails, when you want to make a particular route that has a parameter with spaces in it, you would typically get something like /regions/new%20york...

Aug 08, 2014 on Rails Ruby ActiveRecord Prettyurls  0