add activerecord