Google for "searchlogic". It's a rails plugin that makes stuff like this very easy to do.
Jamey
On Wed, Mar 31, 2010 at 2:42 PM, Chris Hickman <lists@ruby-forum.com> wrote:
I've been having problems submitting a question to this forum so sorry
in advance if this is a repeat.
I am not looking for code examples, just a pointer in the right
direction as far as design. I am trying to do a search based on
information form 4 select boxes. None of the select boxes are mandatory
so there could be a lot of possible combinations.
search for field one, field one and two, field two and three, etc.
I know an if else statement for all the possible combinations would not
be the right way to go. Should I use Ferret or Sphinx to do a search
like this or is there a better way.
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--
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.
--
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