M
M
mlwrm2016-04-01 17:46:30
Ruby on Rails
mlwrm, 2016-04-01 17:46:30

How to implement following tag?

Hello, tell me how to implement the ability to follow the tag, how is it done on the toaster? For tags, I used the acts-as-taggable-on gem
Need to create a model that will inherit ActsAsTaggableOn::Tag and then follow the same as between two users? Or is there an easier way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Sh, 2016-04-01
. @EgorkZe

You create a table with tags, it has the same behavior as users, that is, each tag has a list of id subscribers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question