diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-12-21 19:04:48 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-21 19:04:48 +0000 |
commit | f5b7f0911bc507673afe6a045176e6e3c7305d74 (patch) | |
tree | 2b707bf2eb60941e748bc7b19eec01fcb5616b63 /railties/lib | |
parent | fab4f96bf2b6cccc95760341e4f65c4cbbb3e9f2 (diff) | |
parent | fcd58dc27a99085b161f2463988d4ee373d44ec6 (diff) | |
download | rails-f5b7f0911bc507673afe6a045176e6e3c7305d74.tar.gz rails-f5b7f0911bc507673afe6a045176e6e3c7305d74.tar.bz2 rails-f5b7f0911bc507673afe6a045176e6e3c7305d74.zip |
Merge commit 'fred/more_pullable'
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/commands/dbconsole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/dbconsole.rb b/railties/lib/commands/dbconsole.rb index 6ff895aa30..06848d3c91 100644 --- a/railties/lib/commands/dbconsole.rb +++ b/railties/lib/commands/dbconsole.rb @@ -41,7 +41,7 @@ when "mysql" if config['password'] && include_password args << "--password=#{config['password']}" - elsif config['password'] && !config['password'].empty? + elsif config['password'] && !config['password'].to_s.empty? args << "-p" end |