Update to Prawn 1.2 api. Closes #1