It pairs quite nicely with agentic development as it has a history of plenty of open-source projects published on GitHub, which means they have learned to work with Rails et al. rather well.
It also helps to have a "boring" framework with strong opinions and strong community standards etc.
I wouldn't claim it to be the best as I'm not sure how you'd measure that, but I can say that in my experience it is letting me build things to a decent standard really rather quickly.
If you're building something new today, I'd generally recommend starting with a framework that you already know. But for those of us who already know Rails, it continues to be a wonderful choice. I'm playing with Phoenix LiveView for some projects, which is letting me build real-time UI's really easily – but they have some real-time requirements which Rails can do but is not it's strength. For anything a little more CRUD, it's a no-brainer.