Ruby
在使用 Rails 创建 API 框架时,开发模式总是报以下错误,总是某几个 controller 加载失败,有哪位大神知道这是什么情况,原生的怎么还没有 grape 稳定呢?
tianrui_ruby
·
March 19, 2022
·
Last by nine replied at March 22, 2022
·
522 hits
Unable to autoload constant Api::V1::Com::OptionsController, expected /mnt/workspaces/rails_projects/reviewservice/app/controllers/api/v1/com/options_controller.rb to define it
Unable to autoload constant Api::V1::Com::OptionsController, expected /mnt/workspaces/rails_projects/reviewservice/app/controllers/api/v1/com/options_controller.rb to define it