Class: ActiveRecord::ConnectionAdapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/card/active_record_ext.rb

Instance Method Summary collapse

Instance Method Details

#cast_typesObject



10
11
12
# File 'lib/card/active_record_ext.rb', line 10

def cast_types
  native_database_types.merge custom_cast_types
end

#custom_cast_typesObject



14
15
16
# File 'lib/card/active_record_ext.rb', line 14

def custom_cast_types
  {}
end

#match(string) ⇒ Object



6
7
8
# File 'lib/card/active_record_ext.rb', line 6

def match(string)
  raise "match not implemented"
end