Ah, so it is as I have feared: You have to add the block, in the JobOffer case with job_offer.open? inside.