The fix for #7215 by @spastorino caused #3927 to manifest again and now my tests run spamming with:
/Users/betelgeuse/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.1.8/lib/active_support/core_ext/string/output_safety.rb:23: warning: regexp match /.../n against to UTF-8 string
@spastorino was it the case that the xml solution by @jeremy could not handle single quotes?
Dare I say... +1
I'll fix later
Remove warning when using html_escape with Ruby 1.9.
When will we see a release that applies this patch? Can't wait.
If you really can't wait, http://blog.steveklabnik.com/posts/2012-10-04-run-rails-with-custom-patches
@tbys perhaps you can bundle from github, pointing to 3-1-stable branch, that contains this patch. Another 3.1.x version will only be released if a security fix is necessary.