trying to find best approach to deriving the :id associated with the selected ''text field'' from auto_complete_for. also, is it possible to use the same auto_complete_for more than once on a view. My tests suggest not. would appreciate any help or pointers. thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jim Morris
2007-Jan-02 21:45 UTC
Re: auto_complete_for - getting :id and using > once in a view
Lee wrote:> > trying to find best approach to deriving the :id associated with the > selected ''text field'' from auto_complete_for. > > also, is it possible to use the same auto_complete_for more than once > on a view. My tests suggest not. > > would appreciate any help or pointers. > > thanks. > > > > >These twoblog entries may help.. http://blog.wolfman.com/articles/2006/10/23/getting-a-record-id-from-text_field_with_auto_complete http://blog.wolfman.com/articles/2006/10/17/having-multiple-text_field_with_auto_complete-in-the-same-view -- Jim Morris, http://blog.wolfman.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---