similar to: auto_complete_with_index_for

Displaying 20 results from an estimated 400 matches similar to: "auto_complete_with_index_for"

2006 Apr 11
2
How do I apply a patch to Rails?
Hi, How do I apply a patch to Rails? >From what I can find it looks like I need to be running on the latest version from SVN. I don''t want to do that however. I have also tried applying the changes to the .rb file concerned, but that didn''t seem to work. Martin -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
1
form_remote_tag
How can I get a name/id for a form using the remote form tag? <%= form_remote_tag :url => { :action => :add_to_cart, :id => timecard } %> gives me: <form action="/timecard/add_to_cart/4" method="post" onsubmit="new Ajax.Request(''/timecard/add_to_cart/4'', {asynchronous:true, evalScripts:true,
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names... :first_name, :middle_initial, :last_name and then aggregate them using a composed_of :wholename thing auto_complete_for seems to be wired to only use table columns directly and gags on the aggregate form. 2 - foreign table columns -
2009 Jun 18
1
undefined method `text_field_with_auto_complete'
Dear all: I got the error in my rails 2.2.2 project on ma os x leopard. i did as follow: script/plugin install auto_complete but when i start the server and try to approach the page which used the auto_complete, it can''t find the helper method as the error told: "undefined method `text_field_with_auto_complete'' ", than i try this in script/console helper.methods i
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am struggling to discover how to do this. I have something like this: <%= text_field_with_auto_complete ''user'', ''username'', {}, {:with => "''post=''@company_title.id"} %> but because it is in a partial that pops as a result from a remote_function_tag, I am
2006 Jul 27
1
auto_complete_for method not found error
Hey guys, I have the newest installed Ruby Gems 1.4. I can''t run the scriptaculous auto complete because it cant find auto_complete_for method. However, I have the auto_complete.rb file in my Rails directory and it has the method inside. Why is not found? -- Posted via http://www.ruby-forum.com/.
2001 Feb 08
1
Massive confusion
I'm probably thinking way too hard on this... but I've already got a headache. I've setting up a VPN for a client between two sites. Someone had recommended vtun, so I gave it a try. I was VERY put off by the lack of decent documentation. I _think_ I got a VPN set up between the two sites, but it wasn't working right and I gave up because the documentation sucked. So, then I
2006 Oct 23
10
text_field_with_auto_complete
Hi,all I''ve used text_field_with_auto_complete for a while but still haven''t figured out how to store the value that I selected from the suggested options. any hints? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jun 18
3
on change of drop down a textfield emerging
hi, i have a situation where i have a list of options from which a user selects his options if its not in the list he/she selects Others/Not Present and a new textfield should pop up and the data entered there should be considered instead of dropdown. i have done this using javascript/dhtml but i was wondering how this can be done using pure rails i.e using some of the RoR apis?. i would
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
2008 Feb 07
4
text_field_with_auto_complete
I have the following in my view: <% form_tag :action => ''detail'' do %> Search for Sales Order Number:<br /> <%= text_field_with_auto_complete :sales_order, :id %>&nbsp; <%= submit_tag " Go "%> <% end %> And I have the following in my controller: auto_complete_for :sales_order, :id This worked fine in 1.5, but
2008 Dec 25
5
Plugin auto_complete
Hi all ! I began to develop Rails applications with Aptana Radrails under Windows. For that I had successfully installed auto_complete plugin and succeeded to use it. Now I have an iMac and I''m trying to restart my developments under OS X. My problem is: when I run the command ''script/plugin install auto_complete'', the result is: Plugin not found:
2006 Jan 23
0
Indexed Text Input -> Ajax with Helpers
Hello again. I can get my input forms doing what I want using the '':index => object_counter'' syntax which is very nice. However, the Ajax text_input_with_auto_complete seem not to be able to account for the :index. I can see in the source why this is the case. I have a workaround that is an ugly kludge. I am wondering if there is any less-ugly kludge that I can try.
2006 Mar 25
0
in_place_collection_editor
Hi, I''m trying to write a helper for Scriptaculous'' InPlaceCollectionEditor component. I''ve already submitted a patch (http://dev.rubyonrails.org/ticket/4302). This was a drunk patch; it needs a bit of work (Don''t drink & code!). So far I''ve gotten it to work correctly with normal collections, but I want to use it for belongs_to relations as
2006 Feb 27
2
Ajax - from there to here
Trying to use Amy Hoy''s ajaxariffic auto_complete methodology and I am getting really close to the end. This is fairly complicated but I will simplify as best I can. My view code is simple... <%= text_field_with_auto_complete ''client'', ''wholename'' %> # wholename is not a column in ''clients'' but rather represents an
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,
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox. When I use form tags it breaks, without form tags everything works fine. Exact copy of the example provided, but I added form tags.. The initial search and select works but then the box sort of "locks up" and I can''t change it at all, If I do try to type something nothing changes but a second later the whole
2009 Apr 19
2
Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
Folks, I am trying to upgrade code base from 1.3.x to 2.3.2 and not surprisingly, lot of things are broken. ''text_field_with_auto_complete'' is not working for me - it gives the following error: ActionView::TemplateError (undefined method `text_field_with_auto_complete'' for #<ActionView::Base: 0x7f0ceb6b8290>) I already have installed auto_complete - ruby
2006 Jan 29
1
returned values and consequent usage
I think I can have finally reduced my problem to something somebody can help me with. I am using auto_complete... specifically the form command is... <%= text_area_auto_complete_for :case_manager :name %> I need to use the value derived here in my controller... If I use... cm = CaseManager.find(:first, :conditions => "name = ''Thomas E Dewey''") it works.
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