added active record model league and updated rake task