Forum: Ruby on Rails multiple search using ajax

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.
srikanth (Guest)
on 2008-12-09 10:54
(Received via mailing list)
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(
         :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.

This topic is locked and can not be replied to.