added extra code blocks

Fixed missing code blocks and corrected alignment of ‘carrierwave’