this is a gem for ruby on rails which use mogoid as db