similar to: how do i know the value double of a date...

Displaying 20 results from an estimated 70000 matches similar to: "how do i know the value double of a date..."

2006 Jul 05
0
function of ruby to get cdbl(date)
hello everyboy i ask if you know what is the equivalent ruby function of the cdbl(date) in sql sentences, i need to get the value double of a date please -- Posted via http://www.ruby-forum.com/.
2006 Jul 05
0
@products = Product.find_by_sql "SELECT *...... "
hello all i have a trouble whit a controller i need filter the collection by a date, but i dont know how to get the values of a date, because i need that values to build my sql sentences for example: @products = Product.find_by_sql "SELECT * FROM products WHERE cdbl(date_availabe) > " + first_date_double_value + " AND cdbl(date_available) <= " +
2006 Jul 06
4
get month number of a date
how can i get the month number of a specific. for example this code don?t work month(Date.today) -- Posted via http://www.ruby-forum.com/.
2006 Jan 04
5
How do I set the default value for date fields?
I want my date fields to default to NIL or "", because the presence of a date means something. My problem is that rails is defaulting the fields to today''s date automatically when I create a new record through the scaffold. I tried removing the default ''0000-00-00'' and changing NOT NULL to NULL, but both columns get today''s date as the default
2006 May 09
2
How do you Convert a Time or Date to SQL formatted date?
I am executing some arbitrary SQL in which i need to convert a date/time object into an sql formatted string. Is there a simple way to do this in rails? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2008 Apr 25
0
Does anyone know ROR Developers looking for work?
Hi, I''m with Next Internet LLC (nextinternet.com) and we are looking for Ruby on Rails Developers for our companies in San Fransisco, CA. The job description is below and attached: Ruby On Rails Developer Next Internet creates, builds and operates Internet businesses. We are well-funded and have an experienced management team that has built several highly
2009 Nov 21
1
p.value OR F.value?
Hi?all friends, Please help me understand this sentence below: ?From this set, 858 columns not significantly correlated with the response variable TBG at the 5% level were removed, leaving a set of 390 columns.? and ? the F-test's value for the one-parameter correlation with the descriptor is below 1.0? is equal?? I want to perform this above sentence with R, how can I do? I just try
2006 Apr 21
1
How can i use info of two or more tables in the one form
i have a trouble with my application, because i need to load three combobox, called employes, customer, products, but i cannot to access them. i need a model for each one them? how can i access to the info of the three tables: employes, customers, products, to show in a view.. please help me... thanks -- Posted via http://www.ruby-forum.com/.
2006 Apr 19
0
Some strange questions about SQL
1. Table dealings has the field: id(int(11)), inout(varchar(11)) If I use this select: @deals = Dealing.find(:all,:condition=>["id = ? and inout = ?","1","in"]) then rails will return error with the tips of SQL syntax error if I change it to : @deals = Dealing.find(:all,:condition=>["dealings.id = ? and dealings.inout =
2005 Nov 09
0
R: Re: RODBC fails to build
Dear All, Thanks to the suggestion of Prof Ripley I progressively solved the many libraries problems connected to the installation of the R package RODBC under FreeBSD 5.4. *** As far as this OS is concerned *** please take notice that the sentence in the README file:"..... Use the configure options --with-odbc-include and --with-odbc-lib or environment variables ODBC_INCLUDE and
2019 Jan 20
0
auth-worker: Error: double free or corruption (fasttop)
Op 16/01/2019 om 12:35 schreef Marcel Lorenz: > Dear list, > > since the distri upgrade to glibc 2.28, i can't build working dovecot > binary's. > Older with glibc 2.27 are working. The distri is LFS based. > MariaDB 10.2.18 and 10.3.11 makes no difference. Having this on > different systems. > > Messages Log: > Dec 19 17:10:38 test kernel: traps:
2005 Jul 13
1
Can I introduce sql sentences in the DialPlan (Asterisk Realtime)??
Hallo all! Know somebody, if exist Dialplan commands (specifically sql sentences) for Asterisk Realtime? For example: I have users defined in mysql database. In the dialplan, I would like to select one field of a table. select email from sip_buddies where name=200 I try to use DBget, but I have error. I think because DBget use intern Database, and can 't connect to mysql. (Sintaxis:
2010 Dec 01
1
All messages in double in a virtual mailbox.
Hello, I've got some virtual maiboxes that are configured as follows : !RealMail.Sent RealMail.Sent all In all those mailboxes, all the messages appears in double. I don't think it's the expected behaviour, but I perhaps missed something. Here's my dovecot -n : # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.7 log_timestamp:
2010 Nov 02
2
double mail
Hello, I installed new mail server postfix + dovecot with beckend in postgresql. But when users not deleted mail from server then received all mails from maildir a few everyday..In dovecot logs I can't see any problem. He use outlook or thunderbird with pop3. What is problem whit this? dovecot --version 1.0.7 dovecot -n # 1.0.7: /etc/dovecot.conf log_path: /var/log/dovecot.log
2009 Mar 30
1
Double mysql auth problem
Hello , I am forced to use 2 DBs to auth users. First one is for our CRM system (new user=mail from him/her) , second is for other (cannot user CRM DB :( ) Postfix have no problem to deliver mails to both DBs but I've some problems with reciveing mails from second (not CRM) DB. The dovecot.conf : protocols = imap pop3 imaps disable_plaintext_auth = no mail_location =
2006 Jul 03
5
How do I code this conditional statement in Ruby
Hi, I am a COBOL programmer and I am busy teaching myself Rails and Ruby. In COBOL I can code this conditional If x = 1 next sentence else .......................... The "next sentence" statement enables me to get out of the conditional. How would I code the same thing in Ruby? In C you could use break but I understand that Ruby has no break statement. Regards, Paul
2009 Jan 28
2
Grouping problem
Hi all, I have a problem with grouping like I have to give count of employes in each department like if in one company there is departments like Mechanical, Computer, Fitting, electronics and Chemical hear I have to retreave the number of employes in each department and as well as I have to retreave number of John's in each department is there any function is there which can solve my
2014 Feb 28
2
GSoC 2014
On Thu, Feb 27, 2014 at 01:11:24PM +0530, karthik iyer wrote: > So my idea goes like this. Basically I have been working on Question > Answering systems. I developed a QA system for "when" type questions (sorry > I cant provide the source code at the moment because my paper is under > review at SIGIR 2014). I used the part-of-speech and developed a weighted > scoring
2006 Jan 09
0
MySQL Error with Rails on WindowsI just installed ruby on rails on my windows laptop (so I can code on the road dontcha know), I normally use my gentoo box for this, but since moving things to the window box, I get this error when I try to run my app
I just installed ruby on rails on my windows laptop (so I can code on the road dontcha know), I normally use my gentoo box for this, but since moving things to the window box, I get this error when I try to run my application: Mysql::Error: Lost connection to MySQL server during query: ############################# And for the life of me can''t figure out why, it works just dandy on my
2007 Sep 06
2
How to do ANOVA with fractional values and overcome the error: Error in `storage.mode<-`(`*tmp*`, value = "double") : invalid to change the storage mode of a factor
I have exported a CSV file from my EXCEL worksheet and its last column contained decimal values: Subject;Group;Side;Difference;PercentError M3;1;1;; M5;1;1;375;18,75 M8;1;1;250;14,58 M10;1;1;500;12,50 M12;1;1;375;25,00 . . . When I tried to do ANOVA test on it, R complained by givin error: > Anova3LongAuditoryFemaleError.data <- read.csv("C:\\Documents\ and\