Skip to content

Commit

Permalink
Merge pull request #38133 from onk/insert_all_sql
Browse files Browse the repository at this point in the history
Separate with space between table name and columns list in SQL of insert_all
  • Loading branch information
rafaelfranca committed Jan 2, 2020
2 parents 6aad3b0 + fc12612 commit 122e479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/insert_all.rb
Expand Up @@ -122,7 +122,7 @@ def initialize(insert_all)
end

def into
"INTO #{model.quoted_table_name}(#{columns_list})"
"INTO #{model.quoted_table_name} (#{columns_list})"
end

def values_list
Expand Down

0 comments on commit 122e479

Please sign in to comment.