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
I can imagine why tags are being preloaded but in my case it causes performance issues as it loads the taggings for every user all the time, even though I don't need them in some listings of my app.
I've tried removing these lines and it improves performances on my side and it still loads tags when they are needed.
Does someone have thoughts about that?
The text was updated successfully, but these errors were encountered:
As setting @setup_for_rocket_tag disabled the before_save callbacks, it wasn't automatically saving the tags when the parent is saved.
So, hacked it by clearing the set default scopes. Just need to define other default scopes below this block.
Hi,
Thanks for the gem, it's awesome !
Sorry in advance if I'm opening an issue on a topic that already has been addressed.
I'm questionning about the goal of these lines in https://github.com/bradphelan/rocket_tag/blob/master/lib/rocket_tag/taggable.rb:
I can imagine why tags are being preloaded but in my case it causes performance issues as it loads the taggings for every user all the time, even though I don't need them in some listings of my app.
I've tried removing these lines and it improves performances on my side and it still loads tags when they are needed.
Does someone have thoughts about that?
The text was updated successfully, but these errors were encountered: