You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it depends on the use. In my case, .taggings_count doesn't generate the correct css_tag indices, while replacing by .count solves my problem. Here is a simplified context - in pseudo code:
If I do @tags = group_of_users.tag_counts_on(:tags), then tag_cloud(@tags,... will generate a cloud with the words "smart" and "tall" (ok), but the word "smart" will be bigger than "tall". This is not expected in that case, since I'm in a situation where I just want the tag cloud to be aware of only the two users in the array.
Reverting from .taggings_count to .count does the job.
It looks like .count method is being used and should be .taggings_count. I switched each instance of that method over and it seemed to fix things.
The text was updated successfully, but these errors were encountered: