README

A tiny web app showcasing the ajax:success event callbacks needed for this Stack Overflow question.

The interesting bits are described in this answer.

Setup

Nearly none. Run bundle install, bundle exec rails s and point your browser to localhost:3000.

Then hit the "update" link. The random value should update via AJAX.