require 'securerandom' class AnonymousUser def self.uid SecureRandom.uuid.gsub!('-','') end end