Ruby on Rails 8 · Getting started

Create an app that uses PostgreSQL

Choose a database other than the default SQLite.

rails new myapp --database=postgresql

Official Ruby on Rails 8 documentation

More getting started commands

All getting started commands · Ruby on Rails 8 cheatsheet

Was this page helpful?