mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Avoid "uninitialized constant ActiveRecord::PendingMigrationError::Rails"
This commit is contained in:
parent
25324b632a
commit
953b577f43
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module ActiveRecord
|
|||
|
||||
class PendingMigrationError < ActiveRecordError#:nodoc:
|
||||
def initialize
|
||||
super("Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=#{Rails.env}' to resolve this issue.")
|
||||
super("Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=#{::Rails.env}' to resolve this issue.")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue