You don't need to pass `grade` to `self_log_create_assignment_grades_path`. It doesn't have an id yet, so all that's needed is the assignment id.