I want to pass the value of ‘id’ field in my form to the
certifications
controller as personnel_id
Not tried it myself in exactly the same scenario, but I had a similar
problem with normal text fields. Solved it by using the following syntax
<%= hidden_field ‘certifications’, ‘personnel_id’, @personnel.id %>
Hope that does the trick
Bharat