Add credits to Adrien Siami for his pull request

rails/rails#11867 has been opened a while ago but never got merged,
instead rails/rails#18157 has been applied.

Let's credit the author of the former as a clean patch has been provided
with a lot of rebase.
Merge pull request #59 from robin850/pr-11867

Add credits to Adrien Siami for his pull request