Yes absolutely. I've been very impressed that Rails has managed to stay relevant all these years later.
I hope the NodeJS world can turnout something as turnkey and well-supported as Rails, but I haven't really seen it yet.
The choice of stack really just depends on the project, and the skillsets of developers in that community + the available tools in that community.