trix_student: Moved all_available_assignments into a method.