Pretty simple code: @base.deals.create name: lead.email, contact_id: contact.id, stage_id: stage_id, tags_joined_by_comma: 'vk-onboarding'
There's absolutely no documentation on how to add tags to deal, leads and contacts. I found tags_joined_by_comma in one of the tickets. I found tag_list in a different one. None of this works.
The documentation of this gem is troubling. Also, I can pass any garbage (e.g. tag_list which doesn't look to be supported) and that field is silently ignored. The API should throw an exception when an unmatched parameter is found (if you use Rails on the backend, it'd be config.action_controller.action_on_unpermitted_parameters = :raise).
Pretty simple code:
@base.deals.create name: lead.email, contact_id: contact.id, stage_id: stage_id, tags_joined_by_comma: 'vk-onboarding'There's absolutely no documentation on how to add tags to deal, leads and contacts. I found
tags_joined_by_commain one of the tickets. I foundtag_listin a different one. None of this works.The documentation of this gem is troubling. Also, I can pass any garbage (e.g.
tag_listwhich doesn't look to be supported) and that field is silently ignored. The API should throw an exception when an unmatched parameter is found (if you use Rails on the backend, it'd beconfig.action_controller.action_on_unpermitted_parameters = :raise).