DEV: Block accidental serialization of entire AR models (#27668)

This commit is contained in:
Jan Cernik
2024-07-01 17:08:48 -03:00
committed by GitHub
parent 1ae902fa60
commit 6599b85a75
19 changed files with 98 additions and 45 deletions

View File

@ -140,7 +140,7 @@ class TopicsController < ApplicationController
custom_message_params: {
group: group.name,
},
group: group,
group: serialize_data(group, BasicGroupSerializer, root: false),
)
end