Defect #34980

Fix "undefined method `represent_boolean_as_integer=' for nil:NilClass" in Rails 6.1

Added by Marius BALTEANU 4 months ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Rails support
Target version:-
Resolution:Fixed Affected version:

Description

Method config.active_record.sqlite3.represent_boolean_as_integer was deprecated in Rails 6.0 and removed in Rails 6.1

Since Redmine stores boolean values in sqlite3 databases as 1 and 0, we can safely remove this option from config.

0002-Fix-undefined-method-for-nil-NilClass-in-Rails-6.1.patch Magnifier (901 Bytes) Marius BALTEANU, 2021-03-29 22:16


Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 New

Associated revisions

Revision 20881
Added by Go MAEDA 4 months ago

Fix "undefined method for nil:NilClass" in Rails 6.1 (#29914, #34980).

Patch by Marius BALTEANU.

History

#2 Updated by Marius BALTEANU 4 months ago

#3 Updated by Go MAEDA 4 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed as a part of #29914.

#4 Updated by Marius BALTEANU 4 months ago

  • Target version deleted (5.0.0)

Also available in: Atom PDF