Auto_complete_for function


#1

hello,

i’ve a problem by using text_field_with_autocomplete.
when i use parameters in the header of my function in works :
auto_complete_for :user :login

but i use the function “auto_complete_for_user_login” it doesn’t work.

any ideas?

thank you.


#2

function isn’t reached at all.


#3

On Mar 29, 2007, at 2:45 AM, Jean-Sébastien wrote:

hello,

i’ve a problem by using text_field_with_autocomplete.
when i use parameters in the header of my function in works :
auto_complete_for :user :login

but i use the function “auto_complete_for_user_login” it doesn’t work.

Can you explain in what sense it does not work? Is the method
reached? Is it called but no completion returns?

– fxn


#4

i’ve found what was the matter. “auto_complete_for” function was
declared as protected :(.
thank you anyway Xavier.

On Mar 29, 10:43 am, “Jean-Sébastien” removed_email_address@domain.invalid