Implement typeahead search with links in Rails -
i make typeahead searches items.all
, objects.all
, , stuff.all
(probably total of thousand or things not change) , suggestions brought typeahead links such when clicked, take page, <= link_to item.name, item %>
does.
i'm not quite sure how this. i'm using bootstrap, seems have modify bootstrap-typeahead's behavior somehow.
i'm wondering maybe if there's efficient way list of items, objects, , stuff loaded once , kept client-side or something, typeahead box on every page of application , work same.
just twitter's site typeahead search retrieves links when search people, , 1 has click links appear below text box go page.
i have had success soulmate gem.
Comments
Post a Comment