Forum: Ruby on Rails how to use the tags with acts_as_taggable_on_steroids of rails 2.0?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
sreekanth.G (Guest)
on 2008-12-04 10:19
(Received via mailing list)
hi all,

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

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

3) 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

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

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
This topic is locked and can not be replied to.