Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Demo Rails application using Backbone.js, CoffeeScript and Jasmine
Ruby CoffeeScript
branch: master

This branch is 4 commits ahead of rsim:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
spec
vendor
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Overview

This is sample Rails application that demonstrates usage of

This code is from the demo 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.

In this fork, I've moved it around and upgraded it to rails 3.1

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/assets/javascripts directory and Jasmine tests are located in spec/coffeescripts directory.

Something went wrong with that request. Please try again.