Module: ActiveID::ConnectionPatches::PostgreSQLQuoting

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_id/connection_patches.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.prepended(_klass) ⇒ Object



25
26
27
28
29
# File 'lib/active_id/connection_patches.rb', line 25

def self.prepended(_klass)
  def native_database_types
    super.merge(uuid: { name: "uuid" })
  end
end

Instance Method Details

#native_database_typesObject



26
27
28
# File 'lib/active_id/connection_patches.rb', line 26

def native_database_types
  super.merge(uuid: { name: "uuid" })
end