module Sequel::Plugins::Uuid::InstanceMethods

  1. lib/sequel/plugins/uuid.rb

Methods

Public Instance

  1. before_validation

Public Instance methods

before_validation()

Set the uuid when creating

[show source]
   # File lib/sequel/plugins/uuid.rb
45 def before_validation
46   set_uuid if new?
47   super
48 end