0
I have the following models:
Prova
,
Questao
,
Alternativa
.
Being the same with the following associations:
Prova has_many :questoes
Questao belongs_to :prova
Questao has_many :alternativas
Alternativa belongs_to :questao
I’m using the gem nested_form
to make the form nested, only that I am not able to make the nested_form of alternatives, given that I do not have the Controller
question (as they will only be attributes within the proof controller), as I would do this nesting?
I was missing a little more than that, but I figured it out, thanks!
– Eugênio Oliveira