failing gracefully in non-mongoid environments