Stoplight Rails 3.1 RJS test app
Ruby JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

== Stoplight Rails 3.1 Prototype RJS Tester

Instructions: Click on the name of a color. The stoplight should turn on that that color.

Stoplight uses Prototype RJS to change the colors -- a page load should not be needed in between color changes. If you're seeing a page load, it's because of this bug: https://github.com/rails/rails/issues/2537 - Javascript compression seems to break RJS.

There's a working test version of this app on Heroku:  http://blazing-mist-772.herokuapp.com/

The app is running on Heroku's Cedar stack with config.assets.compress = true. Prototype RJS fails.