Displaying 1 result from an estimated 1 matches for "choose_place".
2006 May 25
0
uninitialized constant
....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
-----------------------
AmbigouosPlaceException
-----------------------
class AmbigouosPlaceException < RuntimeError
attr :places
def initialize(places)
@places = places
end
end
------
Search
------
require ''ambiguous_place_exception&...