Sitepoint tutorial for nesting comments in rails http://www.sitepoint.com/nested-comments-rails/