Class: ActiveRecord::ConnectionAdapters::FbArray

Inherits:
Array
  • Object
show all
Defined in:
lib/active_record/connection_adapters/fb_adapter.rb

Instance Method Summary collapse

Instance Method Details

#column_typesObject


76
77
78
# File 'lib/active_record/connection_adapters/fb_adapter.rb', line 76

def column_types
  {}
end

#columnsObject


80
81
82
# File 'lib/active_record/connection_adapters/fb_adapter.rb', line 80

def columns
  self.any? ? self.first.keys : []
end