search for: auto_complete_for_client_wholename

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

2006 Feb 27
2
Ajax - from there to here
...9;, ''wholename'' %> # wholename is not a column in ''clients'' but rather represents an aggregation of 3 fields...first_name, middle_initial, last_name my controller code does the necessary part to display the ''auto_complete'' listing... def auto_complete_for_client_wholename @clients = Client.find(:all, :conditions => ["LOWER(first_name||middle_initial||last_name) LIKE ?", ''%'' + params[:client][:wholename].downcase + ''%''], :order => ''last_name ASC'', :limit => 8) re...