From: Go MAEDA Date: Thu, 1 Apr 2021 14:34:42 +0000 (+0000) Subject: Fix "undefined method for nil:NilClass" in Rails 6.1 (#29914, #34980). X-Git-Tag: 5.0.0~478 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d9458726f7977be5cbdac4e416bc2393271956e;p=redmine.git Fix "undefined method for nil:NilClass" in Rails 6.1 (#29914, #34980). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20881 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/application.rb b/config/application.rb index 72546d180..29127891b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -56,9 +56,6 @@ module RedmineApp # Do not include all helpers config.action_controller.include_all_helpers = false - # Since Redmine 4.0, boolean values are stored in sqlite3 databases as 1 and 0 - config.active_record.sqlite3.represent_boolean_as_integer = true - # Sets the Content-Length header on responses with fixed-length bodies config.middleware.insert_before Rack::Sendfile, Rack::ContentLength