method

check_pending!

rails latest stable - Class: ActiveRecord::Migration
check_pending!(connection = ActiveRecord::Tasks::DatabaseTasks.migration_connection)
public

Raises ActiveRecord::PendingMigrationError error if any migrations are pending.

This is deprecated in favor of check_all_pending!