It's better to use @candidate.openings instead of @candidate.opening_candidates.