Hi, I just read the tutorial on autocomplete search terms - http://railscasts.com/episodes/399-autocomplete-search-terms. My question is, how do I enable linking to the search result so people can click and go to the item permanent link. Thanks, William
on 2013-02-28 08:48
on 2013-02-28 14:38
On Feb 28, 2013, at 12:32 AM, William Pramana wrote: > Hi, > > I just read the tutorial on autocomplete search terms - http://railscasts.com/episodes/399-autocomplete-search-terms. > > My question is, how do I enable linking to the search result so people can click and go to the item permanent link. > Where would that link appear? Is that in the search results, or elsewhere? As far as I know, the autocomplete search technique is used to populate a text field in a form. That form is then submitted, and what happens then is up to your controller and views. Walter
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.