The gem adds @zefhemel's Persistence.js to your Rails project.
Add this line to your application's Gemfile:
gem 'persistence-rails'
And then execute:
$ bundle
You can also run the generator to add Persistence.js to your application.js automatically.
rails g bootstrap:install
By default it only allows access to a selection of Persistence.js modules, if you want to load all of them use
//= require persistence.all
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2013 freego http://freegoweb.it