similar to: Escape ''&'' in text_field_with_auto_complete

Displaying 20 results from an estimated 300 matches similar to: "Escape ''&'' in text_field_with_auto_complete"

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/.
2006 Jun 23
0
Re:(RESOLVED, KIND OF) auto complete and after update element
Well, I did finally get the after_update_element to call my controller action with the following syntax: <%= text_field_with_auto_complete ( :customer, :company_name, { :size => "45" }, :after_update_element => "function(element,value){" + remote_function( :url => { :action => :get_customer_info }, :with =>
2006 Jun 23
0
auto complete and after update element
I have done several searches via the web and all of my 13,000+ emails from the rails list. I can''t seem to find or discover exactly why the below syntax does not cause the app to call the get_supplier_address action in the controller. <%= text_field_with_auto_complete ( :supplier, :company_name, :after_update_element => "function(element,value){" +
2003 Apr 24
1
R 1.7.0 (Windows) Crashes After using "Install Package from Cran option" within
R-Community, (System Details at end) I recently downloaded R 1.7.0 win95 binaries from http://cran.us.r-project.org . After installing the program with no hitch I used the the 'Install Packages from Cran' optinon in the drop down menu from Rgui. (This may be bad form, if so let me know): I selected all paackages to install and everything was fine until the 'dse' package was
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying to make a rails application after watching Michael Hartl''s tutorial and when i fill data manually and submit it nothing happens and nothing records in the Mailers table and I am facing the following error: Failures: 1) Mailer pages mail us with valid information should send a mail Failure/Error: expect
2006 Dec 28
13
Sorting/Ordering Search Results
Hello All, I am having an issue with AAF and sorting results of a search. Right now, I have results being split onto pages of 10. The results are being sorted alphabetically, but not across multiple pages - it''s just sorting the 10 it pulls down on each page. I noticed another post from April regarding this same issue (http://www.ruby-forum.com/topic/62993#66934) where the issue was
2006 Mar 02
4
Getting Acts_as_Paranoid to work with validates_uniqueness_of
Hello I''ve been using Acts_as_Parnoid for a while and it has been working well but I am now having a slight issue with it. I have a company table were I would like to use validates_uniqueness_of :company_name. This validation works if a company exists in the database and has not been deleted. However, I also would like the validates_uniqueness_of to work if a company has
2008 Feb 24
3
1 error(s) on assignment of multiparameter attributes
I am trying to create a form for processing credit cards. For the credit card expiration date, I would like to leave the day field out of the form for obvious reasons. However, the following code is producing an error for me. Any ideas? Thanks! <p><label for="email">Expiration</label><br/> <input type="hidden" id="user_card_expiration_3i"
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 Jan 28
2
Could this controller test be made simpler?
In a create controller method I am testing the else clause that occurs when the model is unable to be saved. Sounds simple enough, but because model is created before the save and the form has to be re-filled I now have to stub a model and all the attributes. Since the error messages are displayed I also have to stub some methods within the model that allow the error messages to be displayed
2007 Oct 13
13
Story Runner: Readability of output with multiple params
Fistly, many, many thanks for RSpec and Story Runner. Minor request to improve readability of output Given a scenario item with multiple params.. Eg. And "the user belongs to", "Joe", "Acme" do |user_name, company_name| The readability of the following output is less than ideal.. "And the user belongs to company,Joe Public, No Videos" It would be
2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
Yeah, right... I posted this to the Rails mailing list. Sorry for people who see duplicate posts. -------- Original Message -------- Subject: [Rails] Re: [Rails-spinoffs] Autocomplete - setting a second value? Date: Mon, 26 Sep 2005 10:05:24 -0400 From: Fran?ois Beausoleil <fbeausoleil@ftml.net> Reply-To: rails@lists.rubyonrails.org To: rails@lists.rubyonrails.org References:
2008 Jul 29
1
R crashes on new laptop
The problem is that R crashes with an exception "R for Windows GUI front-end has encountered a problem and needs to close..." It doesn't always crash, but almost always does. Thanks for any help (fixes, workarounds, or diagnostics) you can provide! Doug Specs: PC: HP 2710p Graphics HW: Mobile Intel 965 Express Chipset Family / Graphics Media Accelerator X3100 Graphics Driver:
2009 Nov 06
0
Nested objects not propagating from view
I thought I had this fixed, but apparently not. It works okay from the console, but not from the view. I have the following: # partial schema create_table "users", :force => true do |t| t.string "login", :null => false t.string "first_name" t.string "last_name" t.string "email", :null => false
2005 Sep 02
7
Form to update two tables
Hello there, this is probably a very simple problem but I''m stuck. I''m following the Login generator tutorial from rubyonrails. It''s all worked fine so far. But I want to add a bit more functionality so that when a user signs up in addition to chosing a login name and password they type in a company name which is added to a seperate table called COMPANIES. The id
2006 Jan 10
8
Noob: Child records not saved
Hi all, happily coding along, but it seems a belongs_to record is not saved. # Create some stuff def create_project @contact = Contact.new @project = Project.new(@params[''project'']) @project_contact = ProjectContact.new(@params[''collect'']) @project.project_contact = @project_contact contact =
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all. This is one of the most frustrating days I have had with Rails in quite some time now (almost 8 months actually). Yesterday I complete my development and testing and everything is peachy. I head home for the evening and do my things there. This morning, I come back in and do my typical morning routine of starting up eclipse and the usual "ruby script/server" command in
2005 Dec 29
4
How to handle a non existing action in a controller?
Hello, i''m currently building a website in which i have to customise the url to the data. An example: i have a company which is situated in Amsterdam and it''s name is Ruby, then i would like to have the following URL: /companies/amsterdam/ruby/ But since there are a lot of cities that have companies i can''t make a define for all of these. How to fix? Thanks in
2005 Feb 16
4
Beginners Question
I''m just picking up rails...I''ve got a few questions. First, I''d like to get some input and parrot it back. I''m trying the following in my .rhtml file but it isn''t working. What am I missing here? <html> <head> <title>Search</title> </head> <body> <h1>Search for Filings</h1> <p> Use this page to
2006 Nov 28
2
Twice the same code, but only once it seems to work
Hello, I am confronted with a very strange problem which I can not solve... and God I tried a lot, lost almost a whole day, but couldn''t find an answer: The idea is to have a form both in admin and in dir, in admin there will be some more fields that is why I have twice a form. In admin the form appears, in dir the form does not appear instead "þÿ New company" why is it that the