active record relationships and api tweak for getting list of cases user has evaluated