# Supabase — Getting started with Ruby on Rails and Postgres on Supabase

- Company: Supabase (supabase.com)
- Announced: 2024-01-29
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://supabase.com/blog/ruby-on-rails-postgres
- Record: https://forck.live/items/21450-getting-started-with-ruby-on-rails-and-postgres-on-supabase
- Subject: Supabase

Every Supabase project comes with a full Postgres database, a free and open source database which is considered one of the world's most stable and advanced databases. Postgres is an ideal choice for your Ruby on Rails applications as Rails ships with a built-in Postgres adapter! In this post we'll start from scratch, creating a new Rails project, connecting it to our Supabase Postgres database, and interacting with the database using the Rails Console. Need help migrating? Supabase is one of the best free alternatives to Heroku Postgres . See this guide to learn how to migrate from Heroku to Supabase. There's also a Heroku to Supabase migration tool available to migrate in just a few clicks. If you prefer video guide, you can follow along below. And make sure to subscribe to the Supabase YouTube channel ! Create a Rails Project # Make sure your Ruby and Rails versions are up to date, then use rails new to scaffold a new Rails project. Use the -d=postgresql flag to set it up for Postgres. Go to the Rails docs for more details. Set up the Postgres connection details # Go to database.new and create a new Supabase project. Save your database password securely. …

---

Record: https://forck.live/items/21450-getting-started-with-ruby-on-rails-and-postgres-on-supabase
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
