Forum: Ruby on Rails tagging problem?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E38118c6d20b4544e424fd700571e090?d=identicon&s=25 srikanth (Guest)
on 2008-12-05 05:24
(Received via mailing list)
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:
        from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/
        from E:/srikanth/InstantRails-2.0-win/rails_apps/stdb/vendor/
        from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/
database_statements.rb:66:in `transaction'
        from E:/srikanth/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/
        from E:/srikanth/InstantRails-2.0-win/rails_apps/stdb/vendor/
        from (irb):2
This topic is locked and can not be replied to.