Sinatra is a much smaller, lighter construction than Rails. It is used if you want to quickly launch something that simply sends multiple URLs and returns some simple content. Take a look at the Sinatra homepage ; that’s all you need to start and run “Hello, World”, while in Rails you need to create an entire project structure, configure the controller and presentation, configure routing, etc. (I haven’t written a Rails application for some time, so I don’t know exactly how many “Hello, World” steps are, but this is certainly more than Sinatra). Sinatra also has far fewer dependencies than Rails, which makes it easier to install and run.
Sinatra - - , . , , , , Rails.
Merb Rails, . , , Rails; Rails , ActiveRecord. , Rails , , Rails, , , .