# How to use the tags with acts\_as\_taggable\_on\_steroids of rails 2.0?

**URL:** <https://www.ruby-forum.com/t/how-to-use-the-tags-with-acts-as-taggable-on-steroids-of-rails-2-0/154832>\
**Category:** Rails\
**Created:** [December 4, 2008, 9:19am UTC](https://www.ruby-forum.com/t/how-to-use-the-tags-with-acts-as-taggable-on-steroids-of-rails-2-0/154832 "2008-12-04T09:19:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreekanth.G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4491bb/32.png) [@sreekanth.G](https://www.ruby-forum.com/u/sreekanth.G)\
**Post date:** [December 4, 2008, 9:19am UTC](https://www.ruby-forum.com/t/how-to-use-the-tags-with-acts-as-taggable-on-steroids-of-rails-2-0/154832/1 "2008-12-04T09:19:33Z")

</div>

hi all,

1)actaully i have a table called article with colummns:

id name body  
2)tags table with id and name columns

1. taggins table with id,tag\_id,taggable\_id,taable\_type

4)i have model and controller for artcle .And i created migration for  
tagsupport.

5)once i run the [http://localhost:3000](http://localhost:3000)

i am able to enter name body for artical table columns.

her are my quires:  
1)on console am able to see table entries using

> > Article.find(1)  
> > but i want to give a tag name to find the data from the article  
> > table.On console i tried to assign tag like  
> > article.tag\_with(‘xx’  
> > its giving error like undefined methos or no method defined  
> > then i tried like  
> > Article.tag\_list = “aa, yy”  
> > it is working  
> > the same thing i want to do on index page like:  
> > [http://localhost:3000/articles](http://localhost:3000/articles)

index page will open ther i can enter tha data for name and body  
.here i want to enter a tag name to be search in search box ,to do  
that can any one give me idea how can i proceed ?

thanks
