On May 2, 7:15 am, shyam <shyammohankano...@gmail.com> wrote:
> Hi,
> I also using meta search
> I have one question how to use meta search for more than two fields ?
> and if the fields has different data type ...will it work?
>
You can do:
<%= f.text_field :field1_or_field2_equals %>
Needless to say, if you get to the point where you're doing something
like...
<%=
f.text_field :field1_or_field2_or_field3_or_field4_or_field5_equals %>
...then you really don't want to be using something like MetaSearch --
you want to go with a fulltext search gem like Thinknig Sphinx.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment