Define Ruby on Rails. At that scale don't you have to transition your model layer from ActiveRecord to a service layer that sits on top of your databases? Certainly at that scale you are going to be using many different types of databases to store different types of data.