class ActiveRecord::ConnectionAdapters::SQLServer::Type::Uuid
Constants
- ACCEPTABLE_UUID
Public Instance Methods
type()
click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/uuid.rb, line 11 def type :uuid end
type_cast(value)
click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/uuid.rb, line 15 def type_cast(value) value.to_s[ACCEPTABLE_UUID, 0] end