is not a class/module错误的解决方法(原)

用别人的电脑问题还真多啊,刚导好数据库以后一运行就是错误:
TypeError in ProductController#list
is not a class/module
我用的是sqlserver数据库,刚开始我还以为是哪个插件没装呢,想想可能是ruby-dbi没装,重新装了下ruby-dbi,一运行嘿居然可以了,呵呵

你可能感兴趣的:(Ruby)