I have a rails app that lists different law firms. These law firms can be categorized by Practice Area and Location. Now i need to implement a search, where people can select from a select option a Location AND a Practice Area and find all Law Firms that are in that selected Location which also Practice in the selected Area, any idea? Thanks
Just use the boolean operator “AND” in your search query. This should work both for simple SQL queries on your database and for queries on hosted search servers which ( thinking sphix , cloudsearch , etc ) . What have you tried so far ?
Are you looking for the UI where you choose from one picker and the next picker is updated with relevant sub-options from that first choice? Have a search on Railscasts for a nice breakdown of how to do that.
Walter