Flowdock
method

exec_migration

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Migration
exec_migration(conn, direction) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 565
    def exec_migration(conn, direction)
      @connection = conn
      if respond_to?(:change)
        if direction == :down
          revert { change }
        else
          change
        end
      else
        send(direction)
      end
    ensure
      @connection = nil
    end
Register or log in to add new notes.