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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
function isn''t reached at all. On Mar 29, 6:59 am, Xavier Noria <f...-xlncskNFVEJBDgjK7y7TUQ@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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" <jeansebastien....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> function isn''t reached at all. > > On Mar 29, 6:59 am, Xavier Noria <f...-xlncskNFVEJBDgjK7y7TUQ@public.gmane.org> wrote: > > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---