diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-07-29 03:41:36 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-07-29 03:41:36 +0900 |
commit | 953b577f4378df06234d7e7ff409baa4d55890e8 (patch) | |
tree | 7c80d43e61524c4b79bb8dfc49410f0d2c76053c /activerecord/lib | |
parent | 25324b632a23c4d032942795b3fb2b21eee2f94f (diff) | |
download | rails-953b577f4378df06234d7e7ff409baa4d55890e8.tar.gz rails-953b577f4378df06234d7e7ff409baa4d55890e8.tar.bz2 rails-953b577f4378df06234d7e7ff409baa4d55890e8.zip |
Avoid "uninitialized constant ActiveRecord::PendingMigrationError::Rails"
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 90020c3510..19c6f8148b 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -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 |