A simple blog application in rails