Displaying 1 result from an estimated 1 matches for "vorgaenge".
2007 Jan 11
2
text_field_with_auto_complete() - problem
...gt;
controller:
def auto_complete_for_vorgang_bez()
search = params[:vorgang][:bez].downcase # content of the text-field
search = ''%'' + search + ''%'' # format string for request
conditions = [''(LOWER(bez) LIKE ?)'', search] # sql
@vorgaenge = Vorgang.find(:all, :conditions => conditions, :limit =>
1) # request
render(:partial => ''vorgang_filter_select'') # rendering in
_form_test.rhtml
end
please give me an hint. i''m thankful for every helping answer.
bless
chris
--
Posted via http://www.ru...