I am currently using the acts-as-taggable-on gem to add tags to my Pieces model.
I am using elasticsearch to add an index of the tags to Pieces.
However to update the index when a tagging is created I need to make the associations
belongs_to :taggable, touch: true
In the Tagging model.
Here is a link to the Tagging model in acts-as-taggable-on
How can I add the touch: true association to the Taggings model so that my Piece index is updated when I create a Tagging for that piece?