require 'securerandom'
p SecureRandom.uuid #=> 73f57385-7c80-49f2-b636-28b0e7bea67d
参考
http://doc.okkez.net/1.9.3/view/method/SecureRandom/s/uuid
Go to list of users who liked
More than 3 years have passed since last update.
require 'securerandom'
p SecureRandom.uuid #=> 73f57385-7c80-49f2-b636-28b0e7bea67d
参考
http://doc.okkez.net/1.9.3/view/method/SecureRandom/s/uuid
Register as a new user and use Qiita more conveniently
Go to list of users who liked