Moved To:
http://metaskills.net/2010/04/13/restful-ajax-with-forgery-protection-with-rails-3/