docs icon indicating copy to clipboard operation
docs copied to clipboard

Rails getting started database config issue

Open jameshbush opened this issue 1 year ago • 2 comments
trafficstars

rails new creates a database with default sqlite3, but the guide says to use postgres. This results in a missing table names after launching with the scaffolded resource.

consider using rails new list -d=postgresql instead

https://fly.io/docs/rails/getting-started/

jameshbush avatar Nov 27 '23 15:11 jameshbush

I don't think that's a docs bug, but rather a regression. Previously postgresql "just worked", and I want to investigate if we can make it "just work" again.

rubys avatar Nov 27 '23 17:11 rubys

Yes and I think it worked because it was actually running with sqlite instead of postgres

jameshbush avatar Nov 28 '23 16:11 jameshbush