Add tests for mongoid and separate with active_record
Duplicate method because i think Mongoid override its and i can't find any another way