Module: ActiveRecord::ConnectionAdapters::CompatibilityMethods

Included in:
JdbcAdapter
Defined in:
lib/arjdbc/jdbc/compatibility.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.needed?(base) ⇒ Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/arjdbc/jdbc/compatibility.rb', line 42

def self.needed?(base)
  !base.instance_methods.include?("quote_table_name")
end

Instance Method Details

#quote_table_name(name) ⇒ Object



46
47
48
# File 'lib/arjdbc/jdbc/compatibility.rb', line 46

def quote_table_name(name)
  quote_column_name(name)
end