Creating a new Rails project that uses PostgreSQL

by Jason Swett,

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

Leave a Reply

Your email address will not be published. Required fields are marked *