Module: ActiveRecord
- Defined in:
- lib/active_record/migration/ext/delegate_to_connection.rb,
lib/active_record/migration/ext.rb,
lib/active_record/migration/ext/version.rb,
lib/active_record/migration/ext/command_recorder.rb,
lib/active_record/migration/ext/command_recorder.rb,
lib/active_record/migration/ext/change_table_move_to_end.rb
Overview
Delegates methods directly to @connection without wrapping in say_with_time
By default, to call calling on connection from a migration, it goes through Migration#method_missing, which wraps it in say_with_time. That can be very noisy, so you can use this to internal/unimportant method calls so that we only see the important output from change_table, for example in our migration output.
Defined Under Namespace
Classes: Migration