similar to: undefined method `text_field_with_auto_complete'

Displaying 20 results from an estimated 5000 matches similar to: "undefined method `text_field_with_auto_complete'"

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
2006 Jun 25
1
text_field_with_auto_complete nonsense (newbie question)
Hi everyone, I have been introduced to ruby on rails a couple of days ago and it really brings out the fun in programming for the Web. I''m trying to implement a text_field_with_auto_complete as described in script.aculo.us , as follows: controller: class SearchController < ApplicationController auto_complete_for :recipe, :name end search.rhtml: <html> <head><%=
2007 Jan 25
2
text_field_with_auto_complete problem
I have some difficulties with text_field_with_auto_complete. I’m new to this, it just will not work, I must be doing something wrong. It would be great if someone could advise me. I have tried to follow advice available on the internet, so I don’t know what the problem is. The script gets as far as the breakpoint in the controller, but it doesn’t like the next line – giving the error message
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 Feb 18
0
question on text_field_with_auto_complete
Hi, I have a tricky question about text_field_with_auto_complete. I''ve created an admin section for a database of books and on each page there is a form at the top with a single search field on the title of books. So I''ve used: <%= start_form_tag ({:controller => ''books'', :action => ''edit'' }) %> <label
2006 Jul 11
0
text_field_with_auto_complete problem
hello all, I am trying to get a customized text_field_with_auto_complete working where the generated dropdown will display not only the list of teams (first line), but also their city and country(second line). In my view, I have: <p> <label for="team_name">Team: </label> <%= text_field_with_auto_complete :team, :name, {}, :skip_style => true %>
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
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 22
0
Problems with "text_field_with_auto_complete"
Hi, I am discovering RoR with Ajax and have some problem. I wanted to use the helper "text_field_with_auto_complete" I didn t succed to obtain the visual render (a drop down list) like here "http://demo.script.aculo.us/ajax/autocompleter"<http://demo.script.aculo.us/ajax/autocompleter>. Here is the code I use: |# view Just a little test: <%=
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 Jun 21
0
text_field_with_auto_complete broken in firefox?
I am seeing a problem with text_field_with_auto_complete in which the input does not get populated with the selected value, but only in firefox (1.5.0.4). Works in IE just fine. I have a super-simple mockup that shows this problem below. Can anyone please confirm for me that this does/does not work in firefox or point out my mistake? I''m wondering if I need to submit a bug? The example
2008 Jul 17
4
A Mongrel parsing bug: "&" and "&amp;"
When using url_for to send path to a script (such as with auto_complete), multiple params are joined with the "&amp;" code. For example: text_field_with_auto_complete :blog :post, {}, { :posts_path(:a => 1, :b => 2), :method => :get } Produces this script: var blog_post_auto_completer = new Ajax.Autocompleter(''blog_post'',
2006 Jun 21
3
Is this a weird bug with auto_complete?
I think I may have found a bug with the auto_complete feature in rails: My controller has a before_filter with an except clause preventing the filter from running on a specific action. The action renders a view with a text_field_with_auto_complete field. Much to my suprise, the filter appears to run when I type data into this field! The filter is part of my security regime, so I end up with a
2007 Jul 17
0
text_field_with_auto_complete :after_update_element not firing
I''m pretty new to ruby and rails and have been racking my brain for a few hours on this one. I have set up a text_field_with_auto_complete and it works great. It talks to my controller correctly, firing my method that queries mySQL and returns a nice <ul> to select from all with CSS. Ok great. Now I want to be able to capture the ID of the item that the user will select from. I
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
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i need to pass multiple parameters to the controller other that what is typed in the text field. <%= text_field_with_auto_complete :search, :contains, :size => 15, :frequency => 0.1, :skip_style => true -%> This is what i have as of now, but i also need to pass ":language => @default"
2006 Jan 20
3
text_field_with_auto_complete
Hi, I am trying to use text_field_with_auto_complete, it works fine but when I click on an item (even if I use the up and down key and then type enter) th search panel disappears but the selected results is not shown in the text field. Even more, the text field becomes empty. Any idea? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 13
2
Autocomplete broken after update to Rails 1.0
When I upgraded to 1.0, I broke autocomplete on a field. I''ve done everything that I can think of to fix the problem, but nothing has worked. I''m able to recreate a simple autocomplete from examples on the various tutorials, but my original code just will not work. <input id="incident_first_party_name" name="incident[first_party_name]"
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,