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