Open tiffanyqi opened 8 years ago
Removing some extraneous code fixed it, but I'm going to leave this open as an enhancement because it can be refactored
More bugs/edge cases: can't add a student who's enrolled in multiple classes. Also can't add students who share the same name with other students.
The error is in the AdminsController in add_student_to_section. Specifically, the error is that there is some error within the begin statement and then it’s leaving the begin statement without redirecting and thus tries to render a page that doesn’t exist. I'm not sure what error is being caused in the begin statement and what's worse is that this error is only happening on the deployed version, not the local one. Will the creator of this action take a look at this?