Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

brees83's Profile

GitHub User: brees83

Comments by

Avatar

FYI - To get this to work in Rails 4 (I just generated the questions for my example so you will need to add for answers), you need to add to the bottom of the Survey Controller:

def survey_params
params.require(:survey).permit(:name, questions_attributes: [:id, :content])
end