how to connect postgresql with ruby on rails code example Example: postgresql rails rails new myApp --database=postgresql