Module: ActiveRecord::ConnectionAdapters::OracleEnhancedSchemaDefinitions

Defined in:
lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb', line 39

def self.included(base)
  base::TableDefinition.class_eval do
    include OracleEnhancedTableDefinition
  end

  base::ColumnDefinition.class_eval do
    include OracleEnhancedColumnDefinition
  end
  
  # Available starting from ActiveRecord 2.1
  base::Table.class_eval do
    include OracleEnhancedTable
  end if defined?(base::Table)
end