active record enrollment db