NoMethodError:未定义的方法' load_defaults'

时间:2017-11-16 15:12:34

标签: ruby-on-rails ruby-on-rails-5

当我从rails 4.2升级到rails 5.1时,我使用rails app:update 当我config.load_defaults 5.1运行此错误时,会在application.rb中添加rails db:migrate

rails aborted!
NoMethodError: undefined method `load_defaults' for #<Rails::Application::Configuration:0x007fe92ab8aa40>

0 个答案:

没有答案