Source code for the YouTube on Rails article on SitePoint, created by Ilya Bodrov (radiant-wind.com). Working demo.