Demo Rails application using Backbone.js, CoffeeScript and Jasmine
JavaScript Ruby CoffeeScript
Latest commit 0084e52 Jun 3, 2011 @rsim Initial import
Permalink
Failed to load latest commit information.
app Initial import Jun 3, 2011
config Initial import Jun 3, 2011
db Initial import Jun 3, 2011
doc
lib/tasks Initial import Jun 3, 2011
public
script Initial import Jun 3, 2011
spec
vendor/plugins Initial import Jun 3, 2011
.gitignore
.rspec Initial import Jun 3, 2011
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Overview

This is sample Rails application that demonstrates usage of

This demo was used during RailsWayCon 2011 conference presentation Rails-like JavaScript using CoffeeScript, Backbone.js and Jasmine.

Source code is based on original Todos application by Jérôme Gravel-Niquet.

Running application

Install gems, run migrations and start application with

bundle install
rake db:migrate
rails server

And then visit http://localhost:3000.

Running tests

Run rake jasmine and then visit http://localhost:8888 to execute Jasmine tests and see results.

Application source code

Backbone.js models and views written in CoffeeScript are located in app/coffeescripts directory and Jasmine tests are located in spec/coffeescripts directory.