Comment on Put Callback Logic Into Callback Objects [Rails]Comments−bhousel14yI'm kind of curious why you use SecureRandom.hex and then check for uniqueness, rather than just using SecureRandom.uuid?Edit: Nevermind, I realize now that SecureRandom's uuid isn't really a uuid, in that sense. It's just random.
Comments
I'm kind of curious why you use SecureRandom.hex and then check for uniqueness, rather than just using SecureRandom.uuid?
Edit: Nevermind, I realize now that SecureRandom's uuid isn't really a uuid, in that sense. It's just random.