0
0
Fork 0

Fix Rails/SquishedSQLHeredocs cop (#24694)

This commit is contained in:
Matt Jankowski 2023-04-30 00:43:50 -04:00 committed by GitHub
parent 8dcfb6e0ea
commit 60ac9e8634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 16 deletions

View file

@ -113,7 +113,7 @@ namespace :tests do
desc 'Populate the database with test data for 2.4.0'
task populate_v2_4: :environment do # rubocop:disable Naming/VariableNumber
ActiveRecord::Base.connection.execute(<<~SQL)
ActiveRecord::Base.connection.execute(<<~SQL.squish)
INSERT INTO "settings"
(id, thing_type, thing_id, var, value, created_at, updated_at)
VALUES