sinatra/sinatra-recipes — pull request #41 by artagnon (2013-03-05 09:18:13+00:00)
Title: databases/mongo: require json for .to_json

The examples in the next block use .to_json, and this needs a `require
'json'` on top.