Install and Run
$> git clone https://github.com/jimjh/reaction-todos
$> bundle install
$> rake db:setup
$> bundle exec rails server
Open up two different browsers (I tried this in Chrome and Safari) and point them to http://localhost:3000. Changes made in one browser are immediately updated in the other.
Except for the following places, Todos is just a regular Rails app.
Gemfile- added the reaction and thin gems
- config/routes.rb - added
mount_reactionto start the push server
- app/controllers/todos_controller.rb - included
respond_within every action