module Sequel::Plugins::Uuid::InstanceMethods

Public Instance Methods

before_validation() click to toggle source

Set the uuid when creating

Calls superclass method
   # File lib/sequel/plugins/uuid.rb
45 def before_validation
46   set_uuid if new?
47   super
48 end