This source code is explained at
Using RavenDB and ASP.NET MVC 4 to create a Twitter Clone Chirpy www.dotnetcurry.com/ShowArticle.aspx?ID=806
Join us on our Facebook page at - www.facebook.com/DotNetCurry
Join us on our Twitter page at - www.twitter.com/DotNetCurry
The code base supports both MVC 3 and MVC 4. Thanks to @yeurch for the MVC 3 code!