Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dbname in default DSN is application name

  • Loading branch information...
commit e8fdcd26af3fbf71f09d833fb7e4edfe38ced7ef 1 parent b7ceaef
@everzet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/capifony.rb
View
2  lib/capifony.rb
@@ -154,7 +154,7 @@ def load_database_config(data, env)
namespace :configure do
desc "Configure database DSN"
task :database do
- prompt_with_default(:dsn, "mysql:host=localhost;dbname=example_dev")
+ prompt_with_default(:dsn, "mysql:host=localhost;dbname=#{application}")
prompt_with_default(:db_username, "root")
prompt_with_default(:db_password, "") { |q| q.echo = "x" }
Please sign in to comment.
Something went wrong with that request. Please try again.