search for: advanced_search

Displaying 6 results from an estimated 6 matches for "advanced_search".

2006 May 31
5
Help with sorting arrays with objects in it
I have to build an array through both activerecord and also through a ferret index. I was hoping to find a way of sorting the array as i combine the two so def advanced_search(search_text, store, format, sortby) # find items in ferret index items = Item.find_by_contents(search_text) # and now find all the items from a certain store or category items_from_sql = Item.find_by_sql("SELECT * .....") @list = [] items.each do |i| @list << i if items_fro...
2006 Apr 08
0
Understanding observe_form...
...tices. If someone could help me be clear on what exactly the "with" option does and how to use it, I''d be indebted. In my view, I have a form: <%= start_form_tag({:controller => ''houses'', :action => ''find''}, {:id => ''advanced_search'', :method => :get}) %> <p>How much are you willing to spend?</p> <%= radio_button_tag :price, "small" %> a bit <%= radio_button_tag :price, "medium" %> a lot <%= radio_button_tag :price, "any" %> the sky''s...
2012 Oct 12
3
CheckBox with Value and Drop down menu
I am a newbie in Ruby. I would to ask from all the experts in Ruby on how to create a checkbox with value as well as a dropdown menu. I want it like this site http://www.celiac.com/glutenfreemall/advanced_search.php. Their search form is good and I want to learn every aspect in doing it. Hope you can give me a step-by-step tutorial in doing it. 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:...
2006 May 03
3
Graceful degrading AJAX show/hide
...remote("Advanced Search", {:url => { :controller => "base", :action => "advSearchAJAX" }}, {:href => url_for( :controller => "base", :action => "advanced_search" )} )%> Essentially it just show/hides an advanced search if the user has javascript on. The :href is used when javascript is off and sends the user to a new page. However, this isn''t ideal as i''d like use just one controller and to not change the...
2004 Aug 10
1
[OT]Google and the Asterisk list
Since I joined the list in 2003, there has been an order of magnitude increase in functionality in Asterisk. Kudos to Mark and the developers. I'm finding that when I Google the list, posts that are more than a few months old are no longer relevant to me. Without using the Google API, is there a way to have Google sort responses in date order? Or, would there be a way to maintain a
2019 Oct 11
7
New matrix function
Hi All, I was looking for a function to find a small matrix inside a larger matrix in R similar to the one described in the following link: https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix I couldn't find anything. The above function can be seen as a "generalisation" of the "which" function as well as the function described