Use stdlib SecureRandom instead of ActiveSupport::SecureRandom
Include more information in type check errors
Also display value in type check errors
Update to 0.3.12