Circular dependency detected while autoloading constant User

后端 未结 8 1917
心在旅途
心在旅途 2020-12-06 17:17

I\'ve followed this tutorial (http://railscasts.com/episodes/236-omniauth-part-2) for creating facebook login with OmniAuth and Devise and I get this error: Circular depend

8条回答
  •  失恋的感觉
    2020-12-06 17:55

    I got same problem with some classes in lib (used config.autoload_paths += Dir["#{config.root}/lib/**/"])

    for me helped to switch rails from 4.0.0.rc1 to 4.0.0

提交回复
热议问题