postgres and mysql ruby rails code example Example: postgresql rails rails new myApp --database=postgresql