Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Work with models in your JavaScript in your Rails
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
vendor/assets/javascripts/js-model
.gitignore Initial commit.
Gemfile
README.md Initial commit.
Rakefile
js-model-rails.gemspec Update gemspec with `bundle gem`.

README.md

Work with models in your JavaScript in your Rails (3.1)

At the moment all this Gem does is bundle the latest js-model and set include_root_in_json = false - which is something I always forget to do.

Usage

Gemfile:

gem 'js-model-rails'

app/assets/javascripts/application.js:

//= require js-model
Something went wrong with that request. Please try again.