You need to create two Active Admin resources that belong to the same Active Record Model, which needs nested and unnamed routes.
Parent resource:
ActiveAdmin.register ParentClass do end
Nested resource:
ActiveAdmin.register ChildClass do belongs_to :parent_class end
Fatal resource:
ActiveAdmin.register ChildClass, :as => "All Children" do end
You will now have direct access to ChildClass through the "All Children" tab, without receiving the error that ParentClass passes, but still enjoying the nested access to ChildClass from ParentClass.
Matt ridenour
source share