1

I'm new to rails and when trying to run a migration or anything that involves initializing this app like running it on the local server I get this error and the process is aborted.

User does not respond to 'devise' method. This usually means you haven't loaded your ORM file or it's being loaded too late. To fix it, be sure to require 'devise/orm/YOUR_ORM' inside 'config/initializers/devise.rb' or before your application definition in 'config/application.rb'

What does this mean and how can I fix it?

The app is not mine, I cloned it from a repository and I'm working on it as an intern. I noticed that the name of the app is actually incorrect in all the config files. They've used the same name of a separate app I work on, but they've used it consistently so I'm not sure that should cause a problem.

4

1 回答 1

0

检查这个问题

运行“rails generate devise:install”时,从设计“用户不响应'设计'方法”得到错误

第一个答案可能会解决您的问题。

于 2013-06-20T18:35:28.427 回答