We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd93059 commit 28d1770Copy full SHA for 28d1770
1 file changed
lib/rails_admin/abstract_model.rb
@@ -91,7 +91,7 @@ def each_associated_children(object)
91
end
92
when :has_many
93
children = object.send(association.name)
94
- yield(association, children)
+ yield(association, Array.new(children))
95
96
97
0 commit comments