I need your help! I am trying to understand tagging system(like post has tags). But I don’t understand very well.
For example, User can have multiple self descriptive tags like, housewife, influencer, actor, Tv hosts etc…
I think what I want to do is same as this forum does for tagging.
- Suggesting already created tag and if it doesn’t exist, create one.
- When click the tag in this forum’s post, shows post that has same tag(get posts by tag that I clicked)
My thought is just using has_many/belongs_to association.
Is this correct? and what is the best practice for implementing this tagging?