Displaying 1 result from an estimated 1 matches for "gamston".
Did you mean:
gamito
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
...he 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 I get
--- []
as the result.
If I go to mywebapp/ferret/find?search_terms=* I get
ActiveRecord::RecordNotFound in Ferret#find
Couldn''t find Branch with ID=5
There are no Branches with an ID of 5. Does anyone have any ideas wh...