RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dnewkerk
I had trouble getting the example code from GitHub running (ran into many of the issues mentioned throughout these comments). So I went ahead and created a new version of the Questionnaire app based on Rails 4 that implements strong parameters in the surveys controller in place of Rails 3 attr_accessible, and fixes the issue with Turbolinks. The rest is largely identical to the RailsCast example. Works great for me, though please feel free to submit issues or fixes if you'd like.
Working Rails 4 version:
If anyone happens to try out the Rails 4 example on iroller.ru mentioned a few comments above, note that I think the params aren't quite right in that example (log shows unpermitted parameters errors). You need to add :id as well as :_destroy to survey_params. Also you shouldn't need to add the questions controller.
Hope this helps!