Add activerecord dependency