问题
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:
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)
来源:https://stackoverflow.com/questions/42249562/runtimeerrorenvironment-circular-dependency-detected-while-autoloading-constant