Categories: Coding Gems

FriendlyId is a gem that displays user readable text in the URL instead of a numeric ID value. This makes it easier for users to understand what page they are looking at just by looking at the URL.

External Links

How to Include

gem 'friendly_id', '~> 4.0.10'


In Model
extend FriendlyId
friendly_id :username

Contributing Users

andy, cara