search for: ferret_controller

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

2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
...also got the act_as_ferret code from the wiki. I''ve set up my model "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...