similar to: Patch Review #10712: Auto Complete Option

Displaying 20 results from an estimated 7000 matches similar to: "Patch Review #10712: Auto Complete Option"

2007 Sep 25
2
Patch Review for selective joining of eager-loaded tables in pre-query
For those of you following the earlier saga of the performance of limited eager loading, I''ve decided to give up on pursuing my original patch. I received some support on the simplification argument (see my blog if you don''t know what I''m talking about), but it doesn''t seem like it''s worth breaking existing behavior. So I''m moving onto
2007 Jun 25
0
Announcing Multisite Plugin for Rails 2.0
I''ve been working on this for a while, and gotten interest from several people, so I''m posting an announcement here. Building on the work of John Long''s multiple controller view paths in Rails core, I''ve created a plugin for customizing templates on a per-site basis for a single Rails app. I also want to credit Matt McCray (and Tobias Lütke in turn) for his
2007 Jul 06
4
JOINS clobbering ids or other fields.
I just found this ticket because I noticed the same issue. http://dev.rubyonrails.org/ticket/6251 The official response was that it''s not a bug because when you use :joins you are "riding close to the metal". But I''m at a loss as to figure out why this behavior even needs to exist. Every table (except HABTM links) in a typical Rails app is going to have an id
2007 Jul 06
0
Test XML Documents Using assert_select
Have you ever wanted to test your API output without those pesky assert_select error messages? Well now you can! http://dev.rubyonrails.org/ticket/8173 The patch has been sitting there quietly with no comment for a couple months now. I think it should be pretty easy to apply. It won''t affect standard HTML output or even XHTML given IE''s inability understand the standard
2008 Apr 04
4
Auto Complete Problems
Hello All, I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m having some difficulties. When I start typing in my input box, instead of getting a nice drop down, the styling on my page is getting all out of wack (ie my background colours change, link styling changes, etc) and I''m not seeing any autcompletion data. Here are the steps I''ve taken
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone, I have used used scriptalicious for the autocomplete. It works but with one problem. When scrolling down the list, the values not visible are not scrolled into focus. eg I use the keyboard down or up key. Here is my CSS <style type="text/css"> div.auto_complete { height: 100px; width: 350px; background:
2007 Jan 19
0
About that auto-complete select box ...
Cross posted from the "RoR:Talk" board... This is more a CSS question than a Rails one. In AWDwR, in the script.aculo.us section talking about auto-completion, it says "It is worth highlighting that there is no JavaScript to enable the arrow-up, arrow-down, highlight behavior of the list. It is enough to provide the stylesheet above; it turns out that all <ul> tags support
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2007 Feb 17
2
Quick question regarding updateElement
How do you pass the selected value to the function? new Ajax.Autocompleter(''text'', ''auto'', ''file'', {paramName:''autocomplete'', updateElement:sayhi}); function sayhi(???){ alert(???); } I''ve tried element and element.value but that didn''t work. --~--~---------~--~----~------------~-------~--~----~ You
2007 Oct 23
6
Auto complete plugin and CSRF protection-- do you care?
Hi, I just noticed that the auto_complete plugin does not work with the CSRF protection in Rails 2.0. I''ve patched the plugin, but I''m wondering if people would like to see the official plugin fixed. If so, speak up and I will write some tests and submit the patch. Krishna --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2011 Mar 23
0
Implementing auto complete for more than one field in Rails
Hi, I have an app, which implements a group feature. Each group has n members. Also, each group has a group specific profile pic to it. I have been able to implement auto complete for the group feature keeping in mind the group name alone. I have referred to the following tutorial for the same:- http://railsforum.com/viewtopic.php?id=23188 I am using **ruby 1.8.7** and **rails 2.0.2** for
2006 Jan 22
0
Ajax post to apache2/mod_ssl with client certificates ......
I''m using the text_field_with_auto_complete_helper in one of my forms. It''s the only input in the form (along with submit button). I''m deploying with certain parts of site restricted to use https with client certificates. Basically whats happening is that the autocomplete dropdown is getting populated correctly - i select one and it puts it''s value in the
2006 Jan 10
0
Customizing autocomplete to update more than one value upon vaule select
Good day. Currently I have a system that will successfully add a row to a table. Each row in this table will represent a new product being added to a purchase order. The user can enter a quantity and then select a product code. The product code is the auto_complete field. This field works. However, once the user selects a product code then the values for the product description, buy price, and
2006 Mar 08
0
Autocompletion for <SELECT>
[note: I sent this note to Spinoffs with no takers. Hoping someone here has some advice. Thanx. Jodi] Greetings all. I am looking for an ajax-a-fied select box (single select). Unlike the autocompleter for a text field, it would restrict the entry to only those entries returned. Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ] "Essentially an autocomplete that only allows
2006 Mar 06
0
Autocompletion for <SELECT>
Greetings all. I am looking for an ajax-a-fied select box (single select). Unlike the autocompleter for a text field, it would restrict the entry to only those entries returned. Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ] "Essentially an autocomplete that only allows values from a list. Might even be fed by a regular select tags (with options), or by an AJAX call.
2005 Jul 28
2
CSS and autocompleter
hi. I''m rewriting the code from my own save-yourself-if-you-can implementation of xmlhttprequest to scriptaculous autocompleter, and it''s all fine and dandy, except that I am having difficulty positioning the auto_complete div which contains the results returned by xmlhttprequest. the auto_complete div is always stuck in one place, it starts a little below and half
2006 Mar 22
1
Lightning Fast Javascript Auto complete
<%= javascript_tag("new AutoCompleter.Local(''search_start_station'',''start_station_auto_complete'', stations);") %> I have <%= javascript_include_tag :defaults %> in the head of my layout. But I always get an Error: "AutoCompleter is not defined". Im using Rails 1.0, so I should have the latest javascript files. The tag
2006 Mar 13
3
Autocompleter that auto scrolls through results..
Hi All Before I investigate further, has anyone implemented an Autocompleter that will auto scroll down / up the results div as the user moves down through the list (using arrow keys) ? Any pointers / thoughts appreciated. Best Matt *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
2006 Feb 13
2
Ajax.Autocompleter is not a constructor
Hi Rails, I am having trouble setting up an autocomplete text field. Using rails 1.0.0 and just trying to copy the simple scriptaculous demo (http://demo.script.aculo.us/ajax/autocompleter) fails. My view and controller are set up the same way. In firefox 1.0.4 (and safari, don''t remember the version) I get the Ajax.Autocompleter error in the javascript console when loading the
2006 May 26
0
Seeking complete example/plugin of simple usage of Lookup (auto_complete) for making associations on models
I think the second most useful usage of the auto_complete is for editing relations (associations). I''ve searched for almost a week on all RoR resources but I didn''t found any solution to this problem. Instead I''ve discovered that there are many looking for this. I think that this problem must be clearly solved and the clear how-to should published on one-more RoR