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