Rails seguro uuid

require 'securerandom'

p SecureRandom.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594"
# return an unique string
Lioruby