I got stuck on the params.require/permit (Rails 4.2.4).
Note: my models have different fields than in the video example, but the nested permit structure for attributes should help you out. Notice how the answers_attributes is located inside the questions_attributes .
I got stuck on the params.require/permit (Rails 4.2.4).
Note: my models have different fields than in the video example, but the nested permit structure for attributes should help you out. Notice how the answers_attributes is located inside the questions_attributes .
This is what wound up working for me