Class: ActiveRecord::Migration::DefaultStrategy
- Inherits:
-
ExecutionStrategy
- Object
- ExecutionStrategy
- ActiveRecord::Migration::DefaultStrategy
- Defined in:
- activerecord/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
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, *arguments, &block) ⇒ Object (private)
9 10 11 |
# File 'activerecord/lib/active_record/migration/default_strategy.rb', line 9 def method_missing(method, *arguments, &block) connection.send(method, *arguments, &block) end |