Hi,
I am trying to make survey in ruby on rails4 using railcast
(#196 Nested Model Form Part 1 - RailsCasts)
but i am unable to figure out how to capture user responses.
I have created a sccafold for responses and have associated with rest of
the survey model as attached :- in “code for survey responses.docx”
I am new to rails so it will be great if someone can help me saving the
responses for surveys as i am puzzled with code from last 24hours. I
have tried using nested form approach but it has not worked so far.
My intention is to save the responses for the survey with and without
user_id and i do not want to take responses from the same user multiple
times
please help!!! Any pointers will be helpful.
Thanks in advance!