the getActiveAttribute function on the league model currently only looks to the end-date for the league. I believe it should also look to a start date attribute or the earliest release date of a movie within that league.
In other words, I think you need to have a three way destinction between 'Archieved','Current' and 'Future" leagues.
the getActiveAttribute function on the league model currently only looks to the end-date for the league. I believe it should also look to a start date attribute or the earliest release date of a movie within that league.
In other words, I think you need to have a three way destinction between 'Archieved','Current' and 'Future" leagues.