RuntimeErrorenvironment Circular dependency detect

2019-09-20 10:51发布

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<top (required)>


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

1条回答
\"骚年 ilove
2楼-- · 2019-09-20 11:39

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)

查看更多
登录 后发表回答