RE: [Rails] Help needed on "auto_complete_for" with conditions

Help needed on “auto_complete_for” with conditions
Found the answer…

Conditions for auto_complete belong in the view template, e.g. <%= text_field_with_auto_complete :customer, :customernumber, :conditions => ‘deleted_at=0’
%>