Apply Rails patch from https://groups.google.com/forum/?hl=en&fromgroups=#!topic/rubyonrails-security/c7jT-EeN9eI for CVE-2013-0155.