search for: retrieve_records

Displaying 2 results from an estimated 2 matches for "retrieve_records".

2007 Dec 13
4
please explain find_with_ferret, retrieve_records, :include and :conditions
Hello, I''m using find_with_ferret to search multiple models and it works great. The trouble is I need to filter the results using :include and :conditions. I get two errors depending on the syntax I use in the search. Reading the source, I see the retrieve_records method seems to filter the :include and :conditions so that they only apply to the relevant model when searching multiple models. This is exactly what I want, but I can''t seem to get it to work. My question: is my syntax wrong? Or have I misread how retrieve_record works? If so, H...
2007 Sep 28
4
undefined method error
...;"}]) Over and over again. But more importantly, since yesterday doing a search has caused an exception: A NoMethodError occurred in partners#user_search: undefined method `each'' for :sales_region:Symbol [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/class_methods.rb:246:in `retrieve_records'' Any idea what these could have been caused by? Thanks, Chris. -- Posted via http://www.ruby-forum.com/.