Module: UUIDHelper

Defined in:
lib/uuid_helper.rb

Overview

this creates the UUID for the models

Instance Method Summary collapse

Instance Method Details

#before_createObject


3
4
5
# File 'lib/uuid_helper.rb', line 3

def before_create()
  self.uuid = UUID.random_create().to_s
end