Upgrading Sinatra
Upgrade to Mongoid 3.1.X, use Mongoid#models