I'm developing a Rails app where users can follow a tag
. I'm using acts_as_taggable
and acts_as_follower
, but I don't know how to proceed.
User model:
class User < ApplicationRecord
acts_as_follower
end
Posts model
class Post < ApplicationRecord
belongs_to :user
acts_as_taggable_on :tags
end
But where should I put acts_as_followable
?