A simple blog application in rails using public_activity