voomify/egregious — pull request #6 by dwbutler (2013-02-15 23:52:19+00:00)
Title: Mongoid integration

This is tested to work with Mongoid 2 and 3.

Various Mongoid-specific errors are given status codes, and the base ```Mongoid::Errors::MongoidError``` class is also given its own ```to_xml``` and ```to_json``` for nicer error output.