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 store-after
Octocat-spinner-32 store-before
Octocat-spinner-32 README.md
README.md

RailsCasts Episode #350: REST API Versioning

http://railscasts.com/episodes/350-rest-api-versioning

Requires Ruby 1.9.2 or higher.

Commands used in this episode

rails g migration change_products_released_on
rake db:migrate
cp -R app/controllers/api/v1 app/controllers/api/v2
curl -H 'Accept: application/vnd.example.v1' http://localhost:3000/api/products
Something went wrong with that request. Please try again.