ruby on rails postgresql tutorial code example Example: postgresql rails rails new myApp --database=postgresql