* changed activerecord check to use it with mongoid