Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Kyle Meyer's Profile

GitHub User: kaiuhl

Site: http://kaiuhl.com

Comments by Kyle Meyer

Avatar

For simple to_param overrides that append a name to the ID, I wrote a really simple gem called pretty_param. You can check out the logic https://github.com/kaiuhl/pretty-param/blob/master/lib/pretty_param.rb, but essentially it's just a better DSL for the most common to_param overrides with better filtering of special characters.