Forum: Ruby on Rails real time search results

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9163be77c2abb8146d6e7ad48af58553?d=identicon&s=25 Bharat Ahluwalia (Guest)
on 2006-06-01 17:11
(Received via mailing list)
> - Not limit the result set
> - Allow user to get immediate feedback on what they have entered
> - Allow user to change field contents as results are appearing
> - Have query restart when field value changes
>
> Can anyone point me to an appropriate reference or suggest
> Rails constructs to research?
>
> Thanks in advance.
>

You need to use observe_field call. Check out the tutorial at
http://www.onlamp.com/pub/a/onlamp/2005/06/09/rail...

Hope this helps,

Bharat
89d967359903c639d31e4cad4569f537?d=identicon&s=25 Charlie Bowman (Guest)
on 2006-06-01 17:33
(Received via mailing list)
I wrote a small tutorial on just this subject, that covers live search
and pagination of the results.

http://www.recentrambles.com/pragmatic/view/59

On Thu, 2006-06-01 at 20:40 +0530, Bharat Ahluwalia wrote:

> > - Not limit the result set
> You need to use observe_field call. Check out the tutorial at
> http://www.onlamp.com/pub/a/onlamp/2005/06/09/rail...
>
> Hope this helps,
>
> Bharat
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails


Charlie Bowman
http://www.recentrambles.com
This topic is locked and can not be replied to.