A graph database atop Mongoid