Games on Rails

So, I have the opportunity to help design a game SDK. On the one hand, I can go "sprites, sounds, physics," etc. And on the other hand, I can say Ruby on Rails. Which is to say, I can look to RoR as an inspiration of a very successful framework. What does Rails tell us about designing frameworks and SDKs and how can it be applied to the domain of "casual games"?