simple blog application written using rails