TheOdinProject / curriculum

The open curriculum for learning web development
https://www.theodinproject.com/
Other
10.13k stars 13.58k forks source link

Ruby on Rails: Shift lesson Installing PostgreSQL #28984

Open WongYC-66 opened 1 month ago

WongYC-66 commented 1 month ago

Checks

Describe your suggestion

In RoR track, consider shift the lesson of Installing PostgreSQL to before lesson of Deployment ?

Because, when i tried to complete the lesson of Deployment, PaaS like render.com actually required me to use PostgreSQL in Rails, which i had to skip 12 lessons ahead to find it. So, there is a info-gap on how to switch from SQLITE3 to PostgreSQL.

If this lesson - Installing PostgreSQL could be shifted before Deployment, might be helpful and have other experience smoother learning experience. :)

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-on-rails-installing-postgresql

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

JoshDevHub commented 1 month ago

Thank you for making this issue @WongYC-66

Paging @KevinMulhern for this.

I think the intent is to read the deployment lesson and have the ideas swimming around, but not actually start deploying projects until later on (after the postgres installation lesson). Maybe this could be made more clear? Or if the intent is to immediately begin deploying, maybe the postgres lesson could be shifted forward.

WongYC-66 commented 1 month ago

Other PaaS mentioned in this lesson also mentioned usage of postgresql in their rails deployment guides:

KevinMulhern commented 3 weeks ago

Hey @JoshDevHub, @WongYC-66. The intent was for learners to start deploying straight away. I thought the PaaS deployment guides included the step for adding gem 'pg' to the production block in the Gemfile like we had before when Heroku was the only option. I'm sure they did at some point.

I wouldn't mindthe Postgresql lesson being moved up to make things flow better. Maybe to the first section so learners can get all installations done early like we do in foundations, or would right before the deployments lesson where it'll first become useful be better?