Forum: Ruby on Rails multiple search using ajax

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E38118c6d20b4544e424fd700571e090?d=identicon&s=25 srikanth (Guest)
on 2008-12-09 09: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(
         :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
This topic is locked and can not be replied to.