To create a new Rails project that uses PostgreSQL, simply add --database=postgresql to the end of the command:
$ rails new my_project --database=postgresql
[xyz-ihs snippet=”rails-tips-opt-in”]
Get answers to the 8 most common
Rails testing questions.
To create a new Rails project that uses PostgreSQL, simply add --database=postgresql to the end of the command:
$ rails new my_project --database=postgresql
[xyz-ihs snippet=”rails-tips-opt-in”]