# Tagging Articles with Models

**URL:** <https://www.ruby-forum.com/t/tagging-articles-with-models/160423>\
**Category:** Rails\
**Created:** [February 16, 2009, 8:29am UTC](https://www.ruby-forum.com/t/tagging-articles-with-models/160423 "2009-02-16T08:29:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shane](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@shane](https://www.ruby-forum.com/u/shane)\
**Post date:** [February 16, 2009, 8:29am UTC](https://www.ruby-forum.com/t/tagging-articles-with-models/160423/1 "2009-02-16T08:29:25Z")

</div>

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
