I recommend to listen to this podcast episode that gives some insight into the state of Ruby & Rails:
Don't sleep on Ruby & Rails (with Justin Searls) https://changelog.com/podcast/521
If I'm just making something from scratch I might reach for Rails, which I love and am super comfortable developing in. If I am doing a lot of data work with something that also needs a web app/web API, I might reach for Django or FastAPI depending on project bandwidth. It just depends. What are you trying to build? Tell us more.
Just my $0.02
For work? Learn Python and/or Javascript instead.