399 400 401
# File 'lib/uuid.rb', line 399 def self.uuid_primary_key before_create { |record| record.id = UUID.new unless record.id } end