Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: tomek-rusilko
This is a great piece of knowlege, thanks!
I encountered one problem.
The dynamic form doesn't work when I added validates :question_id, presence: true to the Answer model class.
validates :question_id, presence: true
Form is not saving and returning error: Questions answers question can't be blank
This happens only in case when you try to add a new question and add a new answer to it.
Why is this happening?