A bug was reported in Padrino's GitHub repository. Have a look here: https://github.com/padrino/padrino-framework/issues/2298
The reporter posted a monkey patch. You can maybe track this problem or post a workaround.