Blog application in rails