Thanks for your explanation.
But i'm facing a problem with this concept while using 3 models instead of 2.
Where i need to include my 3rd model attributes ?
For example consider this railscasts episode http://railscasts.com/episodes/196-nested-model-form-part-1
Here i'm able to insert survey & nested questions. But i'm not able to saving nested answers. It is not even showing any error. I have included my answers_attributes in questions controller. Please help me.
Thanks for your explanation.
But i'm facing a problem with this concept while using 3 models instead of 2.
Where i need to include my 3rd model attributes ?
For example consider this railscasts episode
http://railscasts.com/episodes/196-nested-model-form-part-1
Here i'm able to insert survey & nested questions. But i'm not able to saving nested answers. It is not even showing any error. I have included my answers_attributes in questions controller. Please help me.