1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

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
This commit is contained in:
Go MAEDA 2021-04-01 14:34:42 +00:00
parent 2a564a1376
commit 5d9458726f

View File

@ -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