How to cache tags with acts_as_taggable_on?

前端 未结 2 689
后悔当初
后悔当初 2021-01-13 00:50

I have model with tag context:

class Product < ActiveRecord::Base
  acts_as_taggable_on :categories
end

I\'m trying to initialize tags c

2条回答
  •  萌比男神i
    2021-01-13 01:31

    If you are using this in combination with owned tags, that might be the problem. Looking at the code of the gem, it seems that the caching of owned tags isn't support

    Hope this helps,

    Best, J

提交回复
热议问题