more activerecord setup