Class: ActiveRecord::Migration::DefaultStrategy

Inherits:
ExecutionStrategy show all
Defined in:
lib/active_record/migration/default_strategy.rb

Overview

The default strategy for executing migrations. Delegates method calls to the connection adapter.

Method Summary

Methods inherited from ExecutionStrategy

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::Migration::ExecutionStrategy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method) ⇒ Object (private)



9
10
11
# File 'lib/active_record/migration/default_strategy.rb', line 9

def method_missing(method, ...)
  connection.send(method, ...)
end