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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---