I''m trying to implement Autocomplete on my site and allow customers to
search for restaurants by name or city all from one search box.
I can''t seem how to get one edit field to interact with Autocomplete
from multiple controllers. I can add the appropriate code into the
controllers to allow access on the page, but how would I modify:
<% text_field_with_auto_complete :restaurant, :name, {}, {method =>
:get} %>
To allow it to also pull from :city, :name to display mixed results in
the list for the customer to select?
Thanks in advance.
Scott
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.