method
cast
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid
cast(value)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/uuid.rb, line 16
def cast(value)
value.to_s[ACCEPTABLE_UUID, 0]
end