Build Status Dependency Status Code Climate

This gem combines Backbone's MVC and Faye's push capabilities to make data synchronization between the client's local storage and the server's database easy and almost transparent. Refer to reaction-todos for an example.

This is still an alpha version. Reaction uses YARD for ruby documentation and Groc for Javascript documentation. To get started, refer to the quickstart.


Add this line to your application's Gemfile:

gem 'reaction'

And then execute:

$ bundle install


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add tests and make sure everything still passes by running rake
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request


To use the development copy of the gem, add the following line in your application's Gemfile:

gem 'reaction', :path => '/path/to/gem'