mbleigh / acts-as-taggable-on

A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
http://mbleigh.lighthouseapp.com/projects/10116-acts-as-taggable-on
MIT License
4.95k stars 1.18k forks source link

Support with multiple taggable objects #1108

Open duybn opened 9 months ago

duybn commented 9 months ago

Do this gem support tags with multiple objects? For example, instead of doing like this

photos.each { |photo| album.tag(photo) }

can we

album.tag(photos)

to avoid N+1 query ?

If it does not support, why it not 🤔 ?

seuros commented 8 months ago

why it not 🤔 ?

because it was not implemented since nobody needed it.

Do you want to contribute to it ?