aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/dbconsole
diff options
context:
space:
mode:
authorPat Allan <pat@freelancing-gods.com>2017-07-22 22:45:53 +1000
committerPat Allan <pat@freelancing-gods.com>2017-08-14 19:00:24 +0200
commitd435c92721a1fbecf0bc6d1b6c5cf95d228c851a (patch)
treec08015501962c1f6c513e526ed8959880a9e921b /railties/lib/rails/commands/dbconsole
parent5949cc05d395f5e1435d04d4adee7b26f13a517d (diff)
downloadrails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.tar.gz
rails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.tar.bz2
rails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.zip
Railties updates for frozen string literals.
Diffstat (limited to 'railties/lib/rails/commands/dbconsole')
-rw-r--r--railties/lib/rails/commands/dbconsole/dbconsole_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
index 71b3455473..1c16c3f0eb 100644
--- a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
+++ b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
@@ -58,7 +58,7 @@ module Rails
logon = ""
if config["username"]
- logon = config["username"]
+ logon = config["username"].dup
logon << "/#{config['password']}" if config["password"] && @options["include_password"]
logon << "@#{config['database']}" if config["database"]
end