Commit e8d7591
Changed files (2)
recipes
templates
recipes/rails.rb
@@ -24,6 +24,9 @@ end
file "#{shared_path}/config/database.yml" do
content <<-YAML
production:
+ adapter: postgresql
+ encoding: unicode
+ pool: 5
url: <%= ENV['DATABASE_URL'] %>
YAML
end
templates/database.yml.erb
@@ -1,8 +0,0 @@
-<%= @rails_env %>:
- adapter: postgresql
- encoding: unicode
- pool: 5
- database: <%= @database %>
- username: <%= @username %>
- password: <%= @password %>
- host: <%= @host %>