Either Rails or Sinatra is a great choice to learn.
I started working on a project in Rails, where I literally knew nothing about web development or Ruby October 2009 (my co-founder helped me break some of the initial hurdles and brought me to RTFM). I ran into some problems, but could easily code business logic. I recently started porting a project to the application engine and used Sinatra as the basis, and it was an incredible learning process. Mostly for learning all the things that Rails did automatically. It was also useful for simplifying the definition of class members and the method of their persistence (migration, unfortunately, is lavash, although background processes are used to change the format).
You might want to consider where you will deploy.
Since I am primarily interested in a direct application with a low server cost, both Heroku and Google App Engine work well. Rails / ActiveRecord / Sqlite and Heroku work swell Sinatra / Datamapper / Datastore in the Google App engine thread well.
Rails also works successfully in the application engine, so this choice is also open. IMO Heroku is a little easier to deploy.
Mark essel
source share