I'm wondering if it'd be better to do this check in the partial and display a different message instead of throwing a 500.