multiple search using ajax

hi ,

I have an application to search table entries using ajax helper: the table tnries are :

name resolution framerate bitrate :

in controller i have code like:

@streams= Stream.find(          :all,          :conditions => [            ( ["(LOWER(name) LIKE ?)"] * terms.size ).join(" AND "),            * terms.flatten          ]        )

1)using this i am able to only the name entries in the name column.Here if i want to fearch for multiple entries eg :name and resolution .how can i do that. 2)and i have tags to the each table entry if i use tag name as search entry wher exactly i have to modify the code?

can give me some to proceed.

thanks srikanth