Node.js vs Ruby on Rails

Which one is more futureproof at this point? Which one is better for creating simple web apps in smallest time? This also might be a question of JS vs Ruby, what do you think of this?

What are the pros and cons of each?

I suggest you do more google on this topic because it is a very general topic. However these articles offer some comprehensive comparisons:

  1. http://ilikekillnerds.com/2014/07/should-i-use-ruby-on-rails-or-node-js-for-my-next-projectstartup/
  2. http://fabianosoriani.wordpress.com/2011/09/11/when-to-ruby-on-rails-when-to-node-js/