sferik/rails_admin — Issue #1026: Can't Hide Groups
Author: jcoleman
Created: 2012-03-06 20:15:05+00:00
State: open

In the dummy_app if I add the following to the rails_admin.rb initializer:

c.model Player do
edit do
group :comments do
hide
end
end
end

The `comments` list still appears when editing a Player instance. I did a little bit of tracking down on this and found that contrary to the Wiki which says that the :default group only includes attributes and belongs_to associations and further states that each of the remaining associations gets its own group, there is only one group being generated (:default), and it includes all of the attributes and associations regardless of type.