Project

General

Profile

Actions

Defect #34980

closed

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

Added by Marius BĂLTEANU over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions #2

Updated by Marius BĂLTEANU over 3 years ago

  • Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
Actions #3

Updated by Go MAEDA over 3 years ago

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

Committed as a part of #29914.

Actions #4

Updated by Marius BĂLTEANU over 3 years ago

  • Target version deleted (5.0.0)
Actions

Also available in: Atom PDF