Upgrade to Rails 3.1.12.
Remove debug_rjs config.
Remove default_scope monkeypatch.
Include ERB::Util so h() helper works.
Use SecureRandom (no longer in ActiveSupport).
Don't allow update to be saved automatically (remove it).
Stop using removed assert_valid().
Fix broken test by change in Sass color values.