Hi! I want to be able to do autocompletion and search while using the new RESTful "API". I figured that, as autocompletion is basically the same as search, these can be done in one action, and that that action is index; passing a parameter to say what we''re looking for and determining if the user wants html (plain search) or if they want js (autocompletion). However, I''ve been unable to come up with a good scheme for doing this and I was wondering how other people have solved this problem. Thanks. nikolai -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---