Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easily use backbone.js with rails 3.1
branch: master

This branch is 217 commits behind codebrew:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
script
test
vendor/assets/javascripts
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
backbone-rails.gemspec

README.md

Backbone-Rails

Easily setup and use backbone.js with rails 3.1

Rails 3.1 setup

This gem requires the use of rails 3.1 and the use of sprockets for asset packaging.

This gem vendors the latest version of underscore.js and backbones.js for Rails 3.1 and greater. The files will be added to the asset pipeline and available for you to use. You need to add the following two lines to the file app/assets/javascripts/application.js:

//= require underscore
//= require backbone

Installation

In your Gemfile, add this line:

gem "backbone-rails"

Then run bundle install. You're done!

Something went wrong with that request. Please try again.