If you installed Rails from Ubuntu, you have to patch it by hand since they're not patching it.
Use the conversions.rb patch for 2.x from https://groups.google.com/forum/#!topic/rubyonrails-security...
"We're not patching it" statement: https://launchpad.net/bugs/320813