https://blog.bigbinary.com/2019/08/27/rails-6-raises-argumenterror-for-invalid-limit-and-precision.html