Using tag-chooser in a plugin

I was faced with this issue again and this time I did a simple trick to avoid getting into the complexities of :before_action etc.

simply did this.

add_to_serializer(:serializer, :value) {object.field.to_s}

1 Like

Wow. I figured it was something trivial that I would never guess. Thanks very much!

1 Like