similar to: Auto Complete, works as adverrtised?

Displaying 20 results from an estimated 5000 matches similar to: "Auto Complete, works as adverrtised?"

2007 Oct 22
2
Strange scroll behavior of Auto Complete inside Active Scaffold.
Hi Everyone. After a long weekend of testing some stuff out I finally got the auto suggest working. I have got a problem however in both IE and Firefox as the drop down scrolls the page down to the element only when the up arrow is pressed. Here is a detailed example. When I have <%= text_field_with_auto_complete :product, :colour %> in my product _form.rhtml override... ... and in my
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 28
1
referencing a table
I am trying to use auto_complete_for to reference a different table. in my clients_controller.rb file auto_complete_for :case_manager :case_manager.name ^^^^^^^^^^^^ this is not the clients table my models/clients.rb has: has_one: case_manager The above ''auto_complete_for'' line in clients_controller.rb
2011 Sep 21
5
problem with submit button in rails 3
hi, i am using <%= s.submit ''Product save'' %> when i click it, following error appears " Routing Error uninitialized constant ProductsController" could any one provide me solution ? thanks, -pab -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2006 Jul 14
1
auto completion with composite field
How can auto completion be done for a composite field ? Concrete problem : Suppose the class Person with reference to a City object. The City has a name and a postal code. When entering a Person I want to enter the city in one text field that shows a composition of the city name and the postal : "city (postal)". And this with auto complete (and should afterwards be linked to the
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
2006 Jan 28
2
javascripts
Trying to use auto_complete_for which works fine on my home system. I see that when I use <%= javascript_include_tag "defaults" %> that when used, the webrick reports GET /javascripts/prototype.js GET /javascripts/dragdrop.js GET /javascripts/effects.js GET /javascripts/controls.js but on the system that I am trying to develop on and doing similarly, the webrick only reports
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 -
2006 Apr 11
4
text_field_auto_complete not working in IE?
Hi all, I''m looking for some insight on why my text_field_with_auto_complete might not work in Internet Explorer. I''m using it in a fairly simple way, without much customization. I''ve broken it down and made a test page at http://realty.colemanation.org/houses/test which shows the behavior I''m having problems with. For me on Windows XP this page works
2007 Oct 23
6
Problem Upgrading from 1.0.5 to 1.0.8
Hey Guys, I''m getting the following error: 1) NameError in ''ProductsController with a GET to /products NO NAME (Because of Error raised in matcher)'' uninitialized constant Spec::Mocks::BaseExpectation::AnyArgsConstraint /Users/mattlins/Projects/RailsProjects/SWNetworkServices/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/render_observer.rb:86:in
2006 Nov 04
1
role based auth breaks auto_complete_for
Hi there I bought the rails recipes book, and I implmented the role based auth, but that breaks my auto_complete_for, I added it to the right table , but no luck, any tips would be apreciated Thanks in advance
2006 Jul 22
1
(bug) auto_complete_for has no support for umlauts!
i wanted to file a bug in the rubyonrails trac, since trac is currently broken, i am writing this here. maybe there is a solution allready: auto_complete_for has no support for umlauts. this i a very big problem for non-english developers out there, since almost everything searched for contains umlauts. * searching by umlauts is not possible * displaying of the found entries is screwed see
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/.
2006 Jul 07
2
Get controller''s module path
Hi, Given a controller such as Maintenance::ProductsController, is there a way to obtain the module section ''Maintenance'' within a view. I am planning to highlight the maintenance option from a common menu whenever a controller from the Maintenance module is used. Thanks, Andrew. -- Posted via http://www.ruby-forum.com/.
2009 Jun 26
1
rSpec Newbie Question - Testing controller
Hi I am very new to rspec and would like to learn more. I have googled around and asked in irc with no firm answers. I have the following controller : class ProductsController < ApplicationController before_filter :loadsidebar def show @category = Category.find(params[:id]) @products = @category.products end private def loadsidebar
2005 Dec 28
3
Module loading
I''ve looked high and low for the answer to this and can''t seem to find anything that helps. I have an admin section (much like Typo) where all controllers are based on the Admin::BaseController. My directory structure is [RAILS] -app --controllers ---admin ----base_controller.rb ----products_controller.rb Products controller is: class Admin::ProductsController <
2006 May 23
2
auto_complete_field help
Not sure what I am doing wrong. Here is what i am trying to do (code to follow). I have a form to create a new book. This book can have many authors and I wanted to be able to add the authors based on if they appear in the authors table. I originally was going about it a long and arduous way where I had several forms. After thinking about it I decided to dynamically add new fields to
2006 Jun 27
1
Scriptaculous Problem
Hi! I am using the auto complete feature provided by Scriptaculous in an Rails application.Here is have to write following string in the view: Select name: <%= text_field_with_auto_complete :contact, :name %> and i have to write following write in the controller: auto_complete_for :contact, :name But after putting in this code it does''nt work. I knw that i hve to create a
2006 Feb 24
1
Autocompleter Problems
Hi, I''m trying to get autocomplete to work but have been having some problems. It seems that Ajax.Autocompleter(...) is not getting called. I''ve put in a alert in control.js: Autocompleter.Local = Class.create(); Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), { initialize: function(element, update, array, options) { window.alert("GOT
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