Sha256: 3c91e306de134a0a8f3f026b91c32be8705d7cc55da59c7faf999507e6ec6bb7

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

ActiveSupport.on_load(:active_record) do
  require "active_record/connection_adapters/postgresql_adapter"

  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.include(
    AR::UUID::Schema
  )

  ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition.include(
    AR::UUID::TableDefinition
  )
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar-uuid-0.2.3 lib/ar/uuid/ext.rb
ar-uuid-0.2.2 lib/ar/uuid/ext.rb