acts-as-taggable-on
acts-as-taggable-on copied to clipboard
Incorrect tag counts for associations
I am getting incorrect tag counts on associations. Here's the query example:
User.last.items.tag_counts_on(:tags)
Here's the result:
[<ActsAsTaggableOn::Tag id: 120, name: "exampletag", taggings_count: 77>....]
The returned taggings_count is not limited to user's items... There are total of 77 items tagged with the tag but but the user only has 4.
I stumbled upon this issue as well.
Same here.
Same here