diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-06-20 19:43:21 +1000 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-06-20 19:43:21 +1000 |
commit | b86e313df53ada181850a057e254052f38014738 (patch) | |
tree | 41531a72563ec51568ca703aa0284acb689a75e0 /activerecord/lib/active_record/tasks | |
parent | 4ff30d9bb6d5d591fbb3952112d721c995059302 (diff) | |
download | rails-b86e313df53ada181850a057e254052f38014738.tar.gz rails-b86e313df53ada181850a057e254052f38014738.tar.bz2 rails-b86e313df53ada181850a057e254052f38014738.zip |
Make ActiveRecord frozen string literal friendly.
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r-- | activerecord/lib/active_record/tasks/mysql_database_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb index 541165b3d1..fedc21010b 100644 --- a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb @@ -151,7 +151,7 @@ IDENTIFIED BY '#{configuration['password']}' WITH GRANT OPTION; end def run_cmd_error(cmd, args, action) - msg = "failed to execute: `#{cmd}`\n" + msg = "failed to execute: `#{cmd}`\n".dup msg << "Please check the output above for any errors and make sure that `#{cmd}` is installed in your PATH and has proper permissions.\n\n" msg end |