Simple question really - how do I use text_field_with_auto_complete inside a form_for block?
text_field_with_auto_complete
form_for
I\'ve tried doing f.text_field_with_auto_com
f.text_field_with_auto_com
Even within the form_for block you ned to specify the full model because it is used to construct the Ajax callback. Also in the empty hash Ricardo listed you could pass additional options to the autocomplete field including ":token" etc.