search for: search_by_category_and_postcod

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

2006 May 25
0
uninitialized constant
...earchesController ------------------ require ''ambiguous_place_exception'' class SearchesController < ApplicationController def search create category = @search.category_string location = @search.location if Postcode.validate(location) @results = Search.search_by_category_and_postcode(category, location) else begin @results = Search.search_by_category_and_place(category, location) rescue AmbigouosPlaceException => e @places = e.places render :action => ''choose_place'' end end end end ----------------------...