summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-01 14:34:42 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-01 14:34:42 +0000
commit5d9458726f7977be5cbdac4e416bc2393271956e (patch)
treedb7996c480b9a5e75cac19e5f11a00ba8e65c99f
parent2a564a1376b692c200d342acf236567ae1f12101 (diff)
downloadredmine-5d9458726f7977be5cbdac4e416bc2393271956e.tar.gz
redmine-5d9458726f7977be5cbdac4e416bc2393271956e.zip
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
-rw-r--r--config/application.rb3
1 files changed, 0 insertions, 3 deletions
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