RailsCasts Pro episodes are now free!

Learn more or hide this

Pretty URLs with FriendlyId

#314 Pretty URLs with FriendlyId

Jan 09, 2012 | 7 minutes | Plugins, Routing
If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history.
  • Download:
  • source codeProject Files in Zip (79.8 KB)
  • mp4Full Size H.264 Video (18.8 MB)
  • m4vSmaller H.264 Video (9.46 MB)
  • webmFull Size VP8 Video (10.5 MB)
  • ogvFull Size Theora Video (20.9 MB)