search for: branch_result

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

Did you mean: branch_results
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
...quot;Branch" to act as ferret using the code below. acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']} I''ve also set up a ferret_controller with the code below def find if params[:search_terms] @branch_results = Branch.find_by_contents(params[:search_terms]) render_text @branch_results.inspect end end I''ve done some updates and the index files seem to be being generated ok. If I go to mywebapp/ferret/find?search_terms=gamston where "gamston" is the name of one of the branches...