Module: Uuidable::ActiveRecord

Extended by:
ActiveSupport::Concern
Defined in:
lib/uuidable/active_record.rb

Overview

ActiveRecord mixin

Defined Under Namespace

Modules: ClassMethods, Finder Classes: UuidChangeError

Instance Method Summary collapse

Instance Method Details

#short_uuidObject



59
60
61
# File 'lib/uuidable/active_record.rb', line 59

def short_uuid
  UUIDTools::UUID.parse(uuid).hexdigest
end