Sha256: 5e34cbb6d37d6dffe675bdd38a77f7c1841c62b0284b4a6c4e183e2f9e3c0f5b

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

say '## DB >>'

file 'config/example-database.yml', <<-END
defaults: &defaults
  adapter: postgresql
  encoding: unicode
  pool: 25
  username: username
  password: password
  host: localhost

development:
  <<: *defaults
  database: dev_#{app_name.underscore}

test:
  <<: *defaults
  database: test_#{app_name.underscore}

production:
  <<: *defaults
  database: prod_#{app_name.underscore}
END

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-maker-0.1.11 templates/default/lib/db.rb