Module: ArJdbc::SybaseJtds

Defined in:
lib/arjdbc/sybase_jtds.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.column_selectorObject



14
15
16
# File 'lib/arjdbc/sybase_jtds.rb', line 14

def self.column_selector
  [/sybase/i, lambda {|cfg,col| col.extend(::ArJdbc::MsSQL::Column)}]
end

.jdbc_connection_classObject



10
11
12
# File 'lib/arjdbc/sybase_jtds.rb', line 10

def self.jdbc_connection_class
  ::ActiveRecord::ConnectionAdapters::SybaseJdbcConnection
end

Instance Method Details

#arel2_visitorsObject



5
6
7
8
# File 'lib/arjdbc/sybase_jtds.rb', line 5

def arel2_visitors
  require 'arel/visitors/sybase_jtds'
  {'sybase_jtds' => ::Arel::Visitors::SybaseJtds}
end

#supports_migrations?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/arjdbc/sybase_jtds.rb', line 18

def supports_migrations?
  false
end