removed activerecord reference