example of Rails application using MongoDb