similar to: check all - check box problem

Displaying 20 results from an estimated 500 matches similar to: "check all - check box problem"

2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check boxes. Here is what I have below. I am getting this error each time: Error: document.myform.add_visit_for_this_Pt has no properties Source File: http://localhost:3000/AddPatientVisit/addvisits Line: 1 Strange that I can''t seem to pass value into the function. Thanks for your help! <SCRIPT
2003 Dec 17
2
emergency- machines kicked off network after PDC 2.2.8->3.0.0 upgrade
After upgrading our PDC to 3.0.0 last night(and confirming logins worked properly)...this morning, we had two machines report errors says the machine account does not exist or has been changed. Last night, users- even ones who had not been on that particular workstation before- were able to login on at least 6 out of 30-40 workstations. All configuration files were moved over, including the
2002 Oct 03
1
Urgent: LDAP showstopper
I have a Smaba2.2.5+LDAP Setup Many of my newly added users suddenly not able login even I am not able to add any new users. When I run smbpasswd -D 99 e91255 e91255 it gives the foll o/p. This has beame network show-stopper and the users are started complaining. TIA Shekhar [The last few lines may give a hint] Initialising global parameters params.c:pm_process() - Processing configuration file
2005 Dec 18
1
Multiple selection....
Hi, I have a table with a paginator and each row displays its own checkbox. I want to be able to offer actions like select_all/deselect_all/select_partial. The problem how does on record user actions so that the form is correctly posted once the user hits submit ? Can anyone point me out to an elegant solution to this common problem ? Code or article would be great !! Many
2007 Jan 09
6
rcov seg fault
Hi Trying to get rcov going (has been working), but with the following context and specs it fails. context ''/account POST with invalid attendee'' do controller_name :account setup do Attendee.stub!(:create!).and_raise(ActiveRecord::RecordInvalid.new( Attendee.new)) end specify ''should raise on create'' do Attendee.should_receive(:create!).with({
2007 Dec 06
8
Default value for country_select
Using Country_select how to have default valur set to United States. I have a select drop down in my Ui to display the Country names. But i need United tates to be selected as default value. I use country_select to populate the country names. This is how i use <%= f.country_select :country, :selected=>''United States'' %> i also tried <%= f.country_select :country,
2009 Apr 24
4
Long string in crypting
I use a solution to crypt a string that I found using OpenSSL. But the crypted string becomes very long, too long for a varchar 255 to hold it. What can I do to make it shorter? Or should I just use text as column in the mysql db? public_key_file = ''lib/public.pem'' public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file)) @encrypted_string =
2008 Dec 08
4
Removing string's accents
Hi, I''m pretty sure to have seen a new method ''remove_accents'' in Rails 2.2 but I can''t find it again. Is it me or does this method exists for good ? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2007 Nov 03
3
Birthdate validation
Hello everyone, I''m almost cracking my head trying to do this birthdate validation. It turns out that I can only accept users with at least 18 years old and I''m trying to validate it writing this code on my user.rb fil at app/ models class User < ActiveRecord::Base validates_presence_of :full_name validates_presence_of :street_address validates_presence_of :city
2012 Dec 03
4
Unnecessary changes when creating facts.yaml
I have set up puppet to create a facts.yaml file for mcollective using the following line: content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|timestamp|.*free|macaddress.*|ipaddress)/ }.to_yaml %>"), However, it is creating a lot of unnecessary changes by reordering the facts in the yaml output as you can see in the diff output between to
2007 Dec 16
1
Unit test preperation with migrations
I have spent sometime this afternoon learning how to unit test rails applications and integrate the Cerberus CI tool. One key area confuses me however, and I would appreciate other peoples views of how best to overcome the issue. My understanding is that the ''test'' and ''test:units'' have the db:test:prepare pre-requisite which copies the schema from dev to the
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all: i am using gem to insall rails 2.3.3 and using $rails myapp to generate my application, but strangely i can''t use the number_helper below is my env: export RUBY_HOME=$HOME/ruby export GEM_HOME=$HOME/gems export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/ site_ruby/1.8 export PATH=$HOME/gems/bin:$HOME/ruby/bin: and: $ locate number_helper.rb
2014 Jan 06
5
[LLVMdev] LLVM Weekly - #1, Jan 6th 2014
LLVM Weekly - #1, Jan 6th 2014 ============================== Welcome to the inaugural issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. I've been a long time lurker on the LLVM and Clang mailing lists and have been using LLVM extensively in my PhD research for the past 4 years. I thought it might be worthwhile to
1997 Dec 18
2
Accessing Samba share over the Internet
Hi, I want to connect to a share on a Samba server over the Internet. I have the Samba server installed and working OK (for NT clients at least) but when I connect from my NT workstation over the Internet I get 'Invalid Handle' dialogs when I try to map a network drive. I think it should be OK but one major difference is the remote NT workstation is not a member of the domain in which
2016 Oct 03
2
[RFC] Require PRs for XFAILing tests
> -----Original Message----- > From: Alex Bradbury [mailto:asb at asbradbury.org] > Sent: Saturday, October 01, 2016 1:06 PM > To: Robinson, Paul > Cc: Renato Golin; Chris Bieneman; llvm-dev at lists.llvm.org > Subject: Re: [llvm-dev] [RFC] Require PRs for XFAILing tests > > On 28 September 2016 at 19:58, Robinson, Paul via llvm-dev > <llvm-dev at lists.llvm.org>
2007 May 10
2
Dynamic counter?
Hi, In a form I have a text area T and a disable text field C (for counter). C must show dynamically how many characters have been typed in T. Should I go in for a Javascript solution (or Ajax) or is there any other way? Thanks, Ram. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Aug 06
1
Question Possibility.
Hi everyone i am new to the rails and enjoying what this framework has to offer. And I have a job interview comming up as rails developer. I have passed the 1st stage which was theory and I was wondering if you could give me some potential coding exercise that might come in the interview. for instance loops ? related to ORM and anything else you can think of. -- Posted via
2009 Jan 22
2
how to make a soundex method in
I am working with a table in my database where I am looking through every record to see if it matches with every other record in that same table to see if its a soundex match or not I want to define a method where I can call it as a true or false statement like: onerecord.soundex(otherrecord) = true or false and be able to run the code below based on if its true or false -- Posted via
2008 Apr 19
3
How to find nil object error in the rails application?
After I added some plugins to rails my application it begin to give following error. Error during failsafe response: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.symbolize_keys (originally You have a nil object when you didn''t expect it! The error occurred while evaluating nil.symbolize_keys) But there is no stack trace I dont
2008 Sep 11
4
About "Plot.new"
Hi, sorry for bothering your guys. I will trying to make some nice graph using boxplot. when I check the help file of boxplot, there is a sample code as: boxplot(len ~ dose, data = ToothGrowth, add = TRUE, boxwex = 0.25, at = 1:3 + 0.2, subset = supp == "OJ", col = "orange") legend(2, 9, c("Ascorbic acid", "Orange juice"),