Tagging Articles with Models


#1

I’m new to Rails and I’m wondering how others would handle this.

I want to be able to post articles and tag them with related teams and
players. I want to avoid duplicating data by maintaining a list of
tags and then a list of teams/players. When a user clicks on a tag
listed in the article, it should go to the player’s profile page, or
the team profile page.

As of right now, here are my current model classes.

  • Article
  • Player
  • Team

Thanks in advance,
Shane