How can I achieve something like this?
The structure is => a test has many questions, and a question has many answers.
I have questions = @test.questions.build and questions.answers.build in the controller.
form_for @test do |f|
f.fields_for :questions do |question_f|
question_f.fields_for :answers do |answer_f|
# answer form here
It works untill the fields_for :answers.
What am I missing? Thanks!