similar to: Change Error messages

Displaying 20 results from an estimated 8000 matches similar to: "Change Error messages"

2006 May 18
1
Feed 2 tables with one Form
hi all, i have a form with several datas given by the user : name, adress , tel etc... When the user press "create" i call an action called "create_stagiaire" which create his account but i also want to feed another table named "demandes" where which i feed with a date given by the user. In my form this date field is writen like this : <%= date_select
2006 May 16
9
Date transform
hi all, i want my users to enter a date in "ddmmyyyy" format, do someone know how may i transform it in "yyyy-mm-dd" in the controler before i add it to the base please? thks irong -- Posted via http://www.ruby-forum.com/.
2006 Apr 22
4
How to supress field name in error message?
Hi How do I supress the reporting of a field name in the full error message? I want the error to be associated with the field so that the .fieldWithErrors class is applied to the field but I don''t want it to add the field name to the actual error message. For example: errors.add("occurs_on", "The date can''t be today!") unless occurs_on != Date.today I
2005 Aug 02
1
(no subject)
hi all, I wish to draw on the same graphic device 3 functions. But i don't want them to be on different graph, i want to compare them on the same I don't need mfrow or mfcol, I need something else... 1 graph on 1 device inside this graph 3 ploted function. I saw something unsing data.frame, but i think it's overkill, and something less complicated must exist, if not why? why not
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like ?page=1&foo=bar. I can''t quite figure out how to do this with the pagination_links helper, although I believe the API says you should be able to: pagination_links(paginator, options={}, html_options={}) options are: :params: any additional routing parameters for page URLs Has anyone tried this? thanks, jeff --
2006 Apr 09
12
Validating two models from one form
Howdy, I''m working on my first RoR project, and I want to build a form. The tricky thing is, this form needs to insert / update against two models, each with their own validation rules. Unfortunately, I''m having an incredible amount of difficulty with the error handling, specifically the fields wrapped in <div class=''fieldWithErrors''></div>
2005 Dec 25
3
Rails + postgresql
Are there any code examples of using rails and postgresql - I cannot seem to get a simple example working (it could be a connect problem or an active record problem - error msg just says error. thks. -- Posted via http://www.ruby-forum.com/.
2005 Jul 22
1
multiplicate 2 functions
Thks for your answer, here is an exemple of what i do with the errors in french... > tmp [1] 200 150 245 125 134 345 320 450 678 > beta18 Erreur : Objet "beta18" not found //NORMAL just to show it > eta [1] 500 > func1<-function(beta18) dweibull(tmp[1],beta18,eta) > func1<-func1(beta18) * function(beta18) dweibull(tmp[2],beta18,eta) Erreur dans dweibull(tmp[1],
2006 May 16
1
variable row names
Hy all, I wish to use a variable as rownames for a set of datas. By example : > nom<-"toto" > prenom<-"tutu" > res<-c(1,2) > res<-t(res) > res [,1] [,2] [1,] 1 2 > colnames(res)<-c(nom,prenom) > res toto tutu [1,] 1 2 > nom [1] "toto" > I wish to call the rowname by the
2018 Jun 15
2
[WebAssembly] lld dynamic loader
Hi Sam, Thanks for your answer! Sorry I didn't really know how to process, but this issue block me to make some legacy C code works without having some glue with a bit static lib ;( (The change have really low risk) The changes I used locally to make dlopen/dlclose et dlsym mechanism works :) : Index: wasm/Writer.cpp =================================================================== ---
2009 Jul 17
0
Rsync problem : stops unexpectedly
Hello. My problem is Rsync stops when I use it between 2 of my servers (2 NAS Synology) ( named "*.22*" and "*.6*" ). The problem continue... For example : _ Rsync run correctly between my server "*.22*" and ".6" ( in the 2 directions ) _ Rsync run correctly between my server ".6" and "*.8*" ( in the 2 directions ) _ Rsync *doesn't
2009 Jul 15
0
Rsync stops in the middle of a transfer
Hello. My problem is Rsync stops when I use it between 2 of my servers (2 NAS Synology) ( named "*.22*" and "*.6*" ). For example : _ Rsync run correctly between my server "*.22*" and ".6" ( in the 2 directions ) _ Rsync run correctly between my server ".6" and "*.8*" ( in the 2 directions ) _ Rsync *doesn't run* correctly between my
2009 Jul 03
7
Asterisk capacity
Hello, What is the maximum number of simultaneous calls supported by asterisk. thks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090703/0794c554/attachment.htm
2005 Apr 18
5
the graph gallery strikes back
Hello useRs and helpRs, Some time ago, in a gallaxy far away (here is the thread : http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46532.html ) we discussed about a graph gallery showing the power of R in that domain. I did some work around that, and there is a (pretty advanced) draft here : http://addictedtor.free.fr/graphiques/displayGallery.php For instance, there are some of my graphs,
2005 Apr 23
3
How to know in which package is a function
Hello list, I'd like to know if there is a function that tells in which package is a given function. Something like : which.package("lda") [1] "MASS" Thank you. Romain -- ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~ Romain FRANCOIS - http://addictedtor.free.fr ~~~~~~ ~~~~ Etudiant ISUP - CS3 - Industrie et
2006 Jul 13
3
colors on graph
Hy all, I need to draw something in 2 dimension that has 3 dimension, the choice has been made to use colors to display the third dimension into the graph. Has someone done something like that, i can't figure out how to parametize the colors. Thks for all ideas, COMTE Guillaume [[alternative HTML version deleted]]
2006 Nov 15
2
??: Re:??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
Airon, I don't think you have to find an English computer 'cause the following must work in your Chinese one :-) Let me explain. First of all, change your lines to xdata <- ckhdat$Adj..Close[1:1447] #names(ckhdwt.la8) <- c("w1", "w2", "w3", "w4", "w5","w6", "v6") note the # sign, i.e., DO NOT change the names
2002 Oct 03
2
How to run rsync as a daemon program taht runs at particular time given
Hi, I want to run rsync as a daemon program so that it can run at particular time in nights given by us any help greatly appreciated Thks in advance --Venkat
2005 Dec 19
1
change read.table by scan
Hi all, Before the amount of data given has grown i was initially using read.table to load the values inside R. It was feeding my needs because i could tell read.table h=T, then use attach to access the values by columns names. Now it takes 20 seconds to load the data's and the first enhancement i could do is to win some time on the load of the data's... How could i use the scan
2005 Dec 07
2
concatenate data frame
hi all Here is a small part of my code: tab_tmp<-tab[1:(no[off_set[i-1]+1]+(no[off_set[i]+1]-no[off_set[i-1]+1])),length(tab)]; tab_tmp1<-tab[(no[off_set[i-1]+1]+(no[off_set[i]+1]-no[off_set[i-1]+1])):length(TotalFillTimeHours),length(tab)]; tab<-c(tab_tmp,tab_tmp1); attach(tab); Here is the output: Error in attach(tab) : attach only works for lists and data frames Execution halted