T
T
Tesla_Rails2014-02-19 13:25:29
PostgreSQL
Tesla_Rails, 2014-02-19 13:25:29

How to connect rails application and postgresql?

How to connect rails application and postgresql? It seems somehow through database.yml it is necessary to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
flowerett, 2014-02-19
@Tesla_Rails

gem install pgdatabase.yml
:

development:
  adapter: postgresql
  encoding: unicode
  database: myapp_development
  pool: 5
  username: myapp
  password: password1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question