Module: PgPower::CreateIndexConcurrently::MigrationProxy
- Defined in:
- lib/pg_power/create_index_concurrently.rb
Overview
Allows ‘process_postponed_queries` to be called on MigrationProxy instances. So, (see ::PgPower::CreateIndexConcurrently::Migrator) could run index creation concurrently.
Default delegation in (see ActiveRecord::MigrationProxy) allows to call only several methods.
Class Method Summary collapse
-
.included(klass) ⇒ Object
:nodoc:.
Class Method Details
.included(klass) ⇒ Object
:nodoc:
180 181 182 |
# File 'lib/pg_power/create_index_concurrently.rb', line 180 def self.included(klass) klass.delegate :process_postponed_queries, :to => :migration end |