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 Initial import Jun 3, 2011
lib/tasks Initial import Jun 3, 2011
public Initial import Jun 3, 2011
script Initial import Jun 3, 2011
spec Initial import Jun 3, 2011
vendor/plugins Initial import Jun 3, 2011
.gitignore Initial import Jun 3, 2011
.rspec Initial import Jun 3, 2011
Gemfile Initial import Jun 3, 2011
Gemfile.lock Initial import Jun 3, 2011
README.md Initial import Jun 3, 2011
Rakefile Initial import Jun 3, 2011
config.ru Initial import Jun 3, 2011

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.