Project

General

Profile

Defect #34980 » 0002-Fix-undefined-method-for-nil-NilClass-in-Rails-6.1.patch

Marius BĂLTEANU, 2021-03-29 22:16

View differences:

config/application.rb
56 56
    # Do not include all helpers
57 57
    config.action_controller.include_all_helpers = false
58 58

  
59
    # Since Redmine 4.0, boolean values are stored in sqlite3 databases as 1 and 0
60
    config.active_record.sqlite3.represent_boolean_as_integer = true
61

  
62 59
    # Sets the Content-Length header on responses with fixed-length bodies
63 60
    config.middleware.insert_before Rack::Sendfile, Rack::ContentLength
64 61

  
    (1-1/1)