RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: brees83
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:
params.require(:survey).permit(:name, questions_attributes: [:id, :content])