Class: ActiveRecord::ConnectionAdapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/connection_adapters_ext.rb

Instance Method Summary collapse

Instance Method Details

#cast_typesObject



9
10
11
# File 'lib/active_record/connection_adapters_ext.rb', line 9

def cast_types
  native_database_types.merge custom_cast_types
end

#custom_cast_typesObject



13
14
15
# File 'lib/active_record/connection_adapters_ext.rb', line 13

def custom_cast_types
  {}
end

#match(_string) ⇒ Object



5
6
7
# File 'lib/active_record/connection_adapters_ext.rb', line 5

def match _string
  raise I18n.t(:exception_not_implemented, scope: "lib.card.active_record_ext")
end