similar to: text_field_with_auto_complete doesn|t work in edit/show view

Displaying 20 results from an estimated 4000 matches similar to: "text_field_with_auto_complete doesn|t work in edit/show view"

2006 Jun 16
4
duplicate entry issue in acts_as_taggable gem
Hi, I am using the ''acts_as_taggable'' gem and have issues when I try to ''tag'' an entity with a ''tagname'' already defined. i.e 1) book[1].tag(''science'',''paperback'') --> works fine 2) book[2].tag(''roman'',''physics'',''paperback'') --> creates an
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:
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 02
2
pass extra value through text_field_with_auto_complete?
Hi, I''m wondering if it is possible to pass an extra value (which I will use to further restrict my query) using text_field_with_auto_complete? Any suggestions would be appreciated! -Mike
2006 Aug 04
3
Migration::alter statements ??
Hi, Where to put the execute statements in migration scripts? e.g, I would like to create a table and add a foreign_key reference. def self.up ?? execute "alter table ...." create_table :my_table do |t| t.column :user, :string end ?? execute "alter table ...." end Should the execute statement be above the table creation or below the table creation? Logically I
2006 Jun 05
3
Interactive debugging of rails models
Hi, How can I debug the models interactively? When I load the console using "ruby script/console", the changes in the models doesn''t get reflected. I have exit the console and reload the console everytime I make some changes. Is there a better way? Thanks, Hari -- Posted via http://www.ruby-forum.com/.
2006 Jul 11
4
how get a substring of a string
hello all i want to get the substring of a string i found a source that do it...but don''t work in my machine example "the source of ruby".chars[0..5] that must return "the so" -- Posted via http://www.ruby-forum.com/.
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
2006 Jun 05
6
HTML Parsing libraries
Hi, What is the best way to parse HTML? Or is there a simple way to convert a table to an array? I tried beautiful_soup and the built-in htmltools, but have trouble getting them to run. Any pointers? Thanks, Hari -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
4
Simplest way to demonstrate a RoR app
Hi, I have built a simple RoR application and would like to show it to some friends. I would like to assign a dyndns URI like "myapp.dyndns.org" address to point to the application. As the WEBrick/Mongrel servers are running in "localhost (so loopback connections)" and I couldn''t bind them to the external server name or couldn''t bind them to my IP
2006 Aug 15
4
How to run autotest(Zentest)
Hi, When I start the "autotest" it gives me the following error...not sure what HOME path I have to set...all Ruby/Rails related components are in path! --- C:\>autotest -rails C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.3.0/lib/autotest.rb:285:in `expand_path'': couldn''t find HOME environment -- expanding `~/.autotest'' (ArgumentError) ---
2006 Jun 06
6
Linking two tables using a lookup table
Hi, How do I associate two different tables which have a lookup id (table) as common. I tried the has_many :table2, :through => look_up_table in my table1 model. Any hints? Thanks, Hari -- Posted via http://www.ruby-forum.com/.
2006 Jul 03
2
redirect as post?
Hi, How can I make sure the redirect should act as a "POST" method and not as "GET"? Thanks, Hari -- View this message in context: http://www.nabble.com/redirect-as-post--tf1884434.html#a5151391 Sent from the RubyOnRails Users forum at Nabble.com.
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 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
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 Jan 25
17
Lookup pattern in Ruby
Hi folks, I''m curious how a lookup with a large group of values would be handled in Rails. For example, I have a (contrived) AnimalType filtering a list of many Animals--more than can be presented comfortably in a dropdown box. Therefore I need to either redirect to another screen to select an animal (returning after the selection is made), or show a dialog--modal or otherwise--to
2006 Apr 16
2
:after_update_element on text_field_with_auto_complete
I have a a basic prototype coded: #view <%= text_field_with_auto_complete :student, :last_name, { :size => 15 }, :after_update_element => "alert(''hello world'');" %> #controller class ScoresController < ApplicationController auto_complete_for :student, :last_name end If I take out the :after_update_element option everything works as advertised.
2006 May 26
5
scriptaculous - auto complete textbox with a drop down
Hi, I''m using scriptaculous to provide an auto complete textbox - and it works perfectly - but I was wondering if there was anyway to let users navigate the choices using the keyboard i.e the curor keys as opposed to having to use the mouse? Apart from that it''s perfect! :) Cheers, Pete -- Posted via http://www.ruby-forum.com/.
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