Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8801f1f125

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
blog-after
blog-before
README

README

RailsCasts Episode #314: Pretty URLs with FriendlyId

http://railscasts.com/episodes/314-pretty-urls-with-friendlyid

Requires Ruby 1.9.2 or higher.

Commands used in episode

  rails g migration add_slug_to_articles slug:string
  rake db:migrate
  rails c
  rails g friendly_id

Commands used in console

  Article.find_each(&:save)
Something went wrong with that request. Please try again.