Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 blog-after
Octocat-spinner-32 blog-before
Octocat-spinner-32 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.