Skip to content

Commit

Permalink
Restore version check for legacy_connection_handling
Browse files Browse the repository at this point in the history
  • Loading branch information
wkirby committed Oct 11, 2024
1 parent 06fd4d2 commit 6fc8702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/dummy/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ class Application < Rails::Application
config.paths['log'] = 'tmp/log/development.log'
config.paths.add 'config/routes.rb', with: "#{APP_ROOT}/config/routes.rb"

config.active_record.sqlite3.represent_boolean_as_integer = true
if Rails.version.match?(/^6.0/)
config.active_record.sqlite3.represent_boolean_as_integer = true
end

def require_environment!
initialize!
Expand Down

0 comments on commit 6fc8702

Please sign in to comment.