rails app with postgres code example
Example 1: start rails api postgres
rails new project-name-here --api --database=postgresql
Example 2: create rails app with postgres
rails new myapp --database=postgresql
Example 3: postgresql rails
rails new myApp --database=postgresql