mongoid snippet for a blog with sinatra