Changes to Rails 3.2.11 for security reasons