remove ORM specifics except active_record