remove activerecord dependency