I hate to break it to you, but Rails doesn’t span the frontend. Hell, the frontend isn’t even written in the same language.
Of course it does. Not in SPA-javascript, but there's a ton of support for erb views:
I’m aware of this; I did Rails development for like five years. Server-side HTML templating isn’t a complete “batteries included” frontend solution anymore. In fact, it’s usually the first part that gets thrown away.
Because it has allowed the community to develop a whole lot of well-integrated, batteries-included libraries that span the from the model layer to the frontend.