Exception: ActiveRecord::PendingMigrationError

Inherits:
ActiveRecordError show all
Defined in:
activerecord/lib/active_record/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializePendingMigrationError

Returns a new instance of PendingMigrationError.



34
35
36
# File 'activerecord/lib/active_record/migration.rb', line 34

def initialize
  super("Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=#{Rails.env}' to resolve this issue.")
end