Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid

Inherits:
Type::Value
  • Object
show all
Defined in:
lib/activeuuid/patches.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#type_cast_from_user(value) ⇒ Object



34
35
36
# File 'lib/activeuuid/patches.rb', line 34

def type_cast_from_user(value)
  UUIDTools::UUID.serialize(value) if value
end