Rails extension for docxtor2