From 7d84e8181bc900482fcb68b22553b30c5a49d3ca Mon Sep 17 00:00:00 2001 From: Sonny Scroggin Date: Mon, 20 Apr 2015 15:24:53 -0500 Subject: [PATCH] inspect adapter_module --- installer/lib/phoenix_new.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/lib/phoenix_new.ex b/installer/lib/phoenix_new.ex index 3eb7f69420..0d16f6f1b1 100644 --- a/installer/lib/phoenix_new.ex +++ b/installer/lib/phoenix_new.ex @@ -187,7 +187,7 @@ defmodule Mix.Tasks.Phoenix.New do # Configure your database config :#{binding[:application_name]}, #{binding[:application_module]}.Repo, - adapter: #{binding[:adapter_module]}, + adapter: #{inspect binding[:adapter_module]}, username: "postgres", password: "postgres", database: "#{binding[:application_name]}_dev" @@ -197,7 +197,7 @@ defmodule Mix.Tasks.Phoenix.New do # Configure your database config :#{binding[:application_name]}, #{binding[:application_module]}.Repo, - adapter: #{binding[:adapter_module]}, + adapter: #{inspect binding[:adapter_module]}, username: "postgres", password: "postgres", database: "#{binding[:application_name]}_test", @@ -209,7 +209,7 @@ defmodule Mix.Tasks.Phoenix.New do # Configure your database config :#{binding[:application_name]}, #{binding[:application_module]}.Repo, - adapter: #{binding[:adapter_module]}, + adapter: #{inspect binding[:adapter_module]}, username: "postgres", password: "postgres", database: "#{binding[:application_name]}_prod"