hi all:
im using rails 2.0 on windows:
i instaled acts_as_taggable_on_steroids
i have a controller and a model for streams table.
i did migration for tag support also
everything is working fine i.e if i run
i am able to enter the data in to streams table from web index page.
on ruby console i have tried like:
I have faced below problems like:
if I want to find the data from table with tag name xx I m getting the
same result for all other tags also.(my table contains columns
like:name,resolution,framerate,codecname and tags table having the tags
as:resolution,name,codecname,omap,hd)
Example:
Stream.find_tagged_with('resolution')
=> [#<Stream id: 4, name: "mummy.mpeg2", resolution: "352x240",
codecname: "mpeg2", framerate: "30fps", created_at: "2008-12-04
16:25:41", updated_at: "2008-12-04 16:48:47">]
Stream.find_tagged_with('codecname')
=>[#<Stream id: 4, name: "mummy.mpeg2", resolution: "352x240",
codecname: "mpeg2", framerate: "30fps", created_at: "2008-12-04
16:25:41", updated_at: "2008-12-04 16:48:47">]
Below are the details of my table entries :
use stdb_development;
Database changed