search for: search_array

Displaying 1 result from an estimated 1 matches for "search_array".

2006 Oct 10
2
Ferret returning too many results
...most of them superflous. i''ll paste in my code below, it''s pretty simple. i''m googling like mad, and going through both the source and the forums, and having trouble finding what could be causing this. any help greatly apreciated. relevant code from our rails app: # search_array hold an array of the model we want to search search_array.each do |asset| a = Object.const_get(asset) assets << (a.find_id_by_contents q, :limit => num_docs, :offset => first_doc) end assets.flatten! return assets -- Posted via http://www.ruby-forum.com/.