即日起在codingBlog上分享您的技术经验即可获得积分,积分可兑换现金哦。

而自动加载恒定用户+轨道检测runtimeerrorenvironment循环依赖

栈溢出 Ums Kumar 16℃ 0评论
本文目录
[隐藏]

1.原始问题:RuntimeErrorenvironment Circular dependency detected while autoloading constant User + Rails

After removing active_admin i am getting this error from production. Please help me how do i solved this error.

app/admin/user.rb:1


ActiveAdmin.register User do
# See permitted parameters documentation:
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# permit_params :list, :of, :attributes, :on, :model

2.被采纳答案

暂无被采纳答案,请参照下面其他答案。

3.其他高票答案

3.1.第1个答案

If you remove the activeadmin gem, you need to delete all files from app/admin and one line from your routes.rb ActiveAdmin.routes(self)

转载请注明:CodingBlog » 而自动加载恒定用户+轨道检测runtimeerrorenvironment循环依赖

喜欢 (0)or分享 (0)
发表我的评论
取消评论

*

表情