# Tagging problem?

**URL:** <https://www.ruby-forum.com/t/tagging-problem/154914>\
**Category:** Rails\
**Created:** [December 5, 2008, 5:24am UTC](https://www.ruby-forum.com/t/tagging-problem/154914 "2008-12-05T05:24:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Post date:** [December 5, 2008, 5:24am UTC](https://www.ruby-forum.com/t/tagging-problem/154914/1 "2008-12-05T05:24:29Z")

</div>

Hi ,

I have a table called streams which contain the columns:  
id name resolution framerate bitrate

i have created a web application which is working fine.  
Here are my doubts:

1)i want to give a tag to my table to find the data from the table.i  
tried like below but i am not able to give throwing errors on console:

befor giving the tag i have created an instance and then i applied  
tagging.can give me idea to clear this?

> > s = Stream.find(1)  
> > =\> #\<Stream id: 1, name: “dust.mpeg2”, resolution: “1920x1080”,  
> > codecname: “mpeg2”, framerate: “30fps”, created\_at: “2008-12-04  
> > 16:23:23”, updated\_at: “2008-12-04 16:23:23”\>

> > s.tag\_with(‘d1 cif 720p’)

NoMethodError: undefined method `parse' for Tag(id: integer, name: string):Class from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/ gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in`method\_missing’  
from E:/srikanth/InstantRails-2.0-win/rails\_apps/stdb/vendor/  
plugins/acts\_as\_taggable\_on\_steroids/lib/acts\_as\_taggable.rb:223:in  
`tag_with' from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/ gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/ database_statements.rb:66:in`transaction’  
from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/  
gems/activerecord-2.0.2/lib/active\_record/transactions.rb:80:in  
`transaction' from E:/srikanth/InstantRails-2.0-win/rails_apps/stdb/vendor/ plugins/acts_as_taggable_on_steroids/lib/acts_as_taggable.rb:215:in`tag\_with’  
from (irb):2
