diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2018-02-16 17:48:14 -0800 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-02-16 17:48:16 -0800 |
commit | d352d81f63a6d7f7214bc64fbf509a52f20aacce (patch) | |
tree | b017f0ddfc720da5068cc01b5ae6e4b77e904e55 /activerecord/lib | |
parent | 933bbb9c372d3365be57aa11fdf5922b139c93dc (diff) | |
download | rails-d352d81f63a6d7f7214bc64fbf509a52f20aacce.tar.gz rails-d352d81f63a6d7f7214bc64fbf509a52f20aacce.tar.bz2 rails-d352d81f63a6d7f7214bc64fbf509a52f20aacce.zip |
Fix frozen string concatenation by indicating that it's mutable
References 89bcca59e91fa9da941de890012872e8288e77b0
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb index 526aa20b2c..22abdee4b8 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb @@ -64,7 +64,7 @@ module ActiveRecord end def visit_ForeignKeyDefinition(o) - sql = <<~SQL + sql = +<<~SQL CONSTRAINT #{quote_column_name(o.name)} FOREIGN KEY (#{quote_column_name(o.column)}) REFERENCES #{quote_table_name(o.to_table)} (#{quote_column_name(o.primary_key)}) |