how to setup postgresql in rails application code example
Example 1: create rails app with postgres
rails new myapp --database=postgresql
Example 2: postgresql rails
rails new myApp --database=postgresql
rails new myapp --database=postgresql
rails new myApp --database=postgresql