Hi all, I''m using autocomplete in my application. I''m able to take values from single table for auto complete. Now i need to take values from two tables using many-to-many relationship. Actually i have to tables items and orders table. Many-to-many relationship between these two. I have another one table items_orders, which have item_id and order_id in it. I need to show auto complete in the following format "GH > Petrochemicals", where GH is in items table and Petrochemicals is in orders table. Please give me some solution or suggestion for this. It''ll be very helpful. Thanks to all in advance. -- 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?hl=en -~----------~----~----~----~------~----~------~--~---