結論
config/application.rb
内(など)で定義されている config.active_record.sqlite3.represent_boolean_as_integer
の値を nil
にする。あるいは、定義しない。false
ではだめです。
WARNING の全文
DEPRECATION WARNING: `.represent_boolean_as_integer=` is now always true, so setting this is deprecated and will be removed in Rails 6.1. (called from <top (required)> at /Users/FOOBAR/HOGEHOGE/app/models/application_record.rb:1)