Displaying 2 results from an estimated 2 matches for "category_str".
Did you mean:
category_slc
2006 May 25
0
uninitialized constant
...#39;'
#{RAILS_ROOT}/app/controllers/searches_controller.rb:22:in `search''
------------------
SearchesController
------------------
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
@...
2006 Feb 27
0
auto_complete_field Vs text_field_with_auto_complete
Hi,
I want to know which of the two methods, auto_complete_field and
text_field_with_auto_complete best suits what I am trying to do.
I have a model class called search (which doen''t extend ActiveRecord)
which holds two parameters, category_string and postcode_string.
I want my form to bind its values to these to values. I also want the
category input to be an auto complete field (after the first three chars
have been input).
What is the difference between auto_complete_field and
text_field_with_auto_complete?
Does text_field_with_...