tags 테이블에 type_tag 이름의 필드를 추가하면 발생하는 BlockedSerializationError에 대한 지원

현재 Discourse 버전 3.4.0.beta2-dev를 사용하고 있습니다. tags 테이블에 type_tag라는 필드를 추가한 후 다음과 같은 오류가 발생했습니다:

ActiveRecordSerializationSafety::BlockedSerializationError in ListController#latest Serializing ActiveRecord models (Tag) without specifying fields is not allowed. Use a Serializer, or pass the

option to #serializable_hash. More info: Preventing accidental serialization of ActiveRecord models

아래 코드를 추가했지만 문제가 해결되지 않았습니다:

add_to_serializer(:tag, :type_tag) {
object.type_tag
}

이 플러그인은 오래된 버전으로, Discourse 3.2 버전용으로 제작했으며 당시에는 이 오류가 발생하지 않았습니다. 도움을 주실 수 있으시면 감사하겠습니다.