我有一个Customer_ratings模型,允许用户互相留下反馈.网络应用程序正常工作,并收集,存储和显示反馈.
我想通过rails控制台进入并删除一些反馈,但是当我输入Customer_rating.all时,我收到以下错误:
LoadError: Unable to autoload constant Customer_rating,expected /Users/myapps/app/models/customer_rating.rb to define it
同样,如果我输入Customer_rating [0],我得到:
RuntimeError: Circular dependency detected while autoloading constant Customer_rating
通过我的控制台访问其他表时,我没有这个问题.
什么可能导致问题,为什么这个错误不会禁止Customer_ratings通过网络应用程序正常工作?
@H_301_14@