Module: ActiveRecord::ConnectionAdapters::JdbcAdapter::CompatibilityMethods

Included in:
ActiveRecord::ConnectionAdapters::JdbcAdapter
Defined in:
lib/active_record/connection_adapters/jdbc_adapter.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.needed?(base) ⇒ Boolean

Returns:

  • (Boolean)


415
416
417
# File 'lib/active_record/connection_adapters/jdbc_adapter.rb', line 415

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

Instance Method Details

#quote_table_name(name) ⇒ Object



419
420
421
# File 'lib/active_record/connection_adapters/jdbc_adapter.rb', line 419

def quote_table_name(name)
  quote_column_name(name)
end