The question is which should new web developers take up learning, and why? Now, hold your horses - I know that comparing Ruby on Rails and NodeJS isn't completely a 1:1 comparison. Rails is a full web framework and NodeJS with ExpressJS is more comparable to the likes of Sinatra - that's not the point. The point is going forward which is the more progressive and powerful tool to use to develop user-friendly web applications?<p>Let's discuss...
Meteor.js beats rails in terms of productivity. Also it's in most cases more performant (node vs ruby thing). It requires some re-learning of how to model your data (document store vs relational data), but in most cases it's worth it.<p>Also soft realtime is the default, shipping mobile/desktop apps aside with your webapp requires little to no code changes, and even offline working apps are doable with ease.<p>Rails was fine 10years ago and popularized many paradigms when it was important... Now the world moved on and requirements changed heavily. No bad rap for rails (it paid my bills for many years!) but it left the path of innovation and is now mainly on the maintenance road and trying to catch up and thats it IMHO.
I think arguments can be made on either side pretty convincingly.<p>For me personally, the ecosystem matters most. So the choice comes down to Gems vs NPM. NPM tends to have what I need the vast majority of the time, and gets better every day; so I prefer Node.<p>Here's an interesting comparison of the ecosystems: <a href="http://www.modulecounts.com/" rel="nofollow">http://www.modulecounts.com/</a>