nicodeceulaer / backbone-cellar-rails

a rails based version of https://github.com/ccoenraets/backbone-cellar

Home Page:http://coenraets.org/blog/2011/12/backbone-js-wine-cellar-tutorial-%E2%80%94-part-3-deep-linking-and-application-states/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#README

This is a rails version of the REST API supporting the backbone.js tutorial from Christophe Coenraets. All javascript code is his, and you may check the original repository here.

In his posts (part1, part2 and part3) he presents a slim based REST API. I just thought it would be nice to have a rails version.

##Install

The usual steps:

$ git clone <repo>
$ gem install bundler
$ bundle install
$ rake db:migrate
$ rake db:seed
$ rails s

I tested this using rails 3.1.3 under ruby 1.9.2. Enjoy.