Displaying 20 results from an estimated 1100 matches similar to: "getdate_column"
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all,
Rails 1.0.0
created_on is being set to 2000/01/01 00:00:00
Any ideas on this ?
Thanks!
Schema is
create table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered
2008 Dec 05
2
Asterisk h323 module
Hello!
I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I
tried to do "make" I got such error:
*
chan_ooh323.c: In function `reload_config':
chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this
function)
chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once
chan_ooh323.c:2053: error: for each function it appears
2011 Apr 07
2
Selecting data from list object
Hello Group,
Is there a simpler way to get data out of a list object? (like in data
frame without using the apply functions)
I have the following dataset
> dput(d)
list(c("20110405", "092102"), c("20110405", "092538"), c("20110405",
"093458"), c("20110405", "101124"), c("20110405", "102041"),
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date
eg. if account.expiry_date < getdate
''getdate'' doesn''t seem to work.
anyone know what does?
--
Posted via http://www.ruby-forum.com/.
2004 Sep 01
1
NEWBIE: PWLIB Build Failure
Any got experience w/ PWLIB - sorry I know it's somewhat off topic...
I do not have a bison.simple file located on Fedora RC2...
But when make'ing PWLIB I get
../common/getdate.y:106:1: warning: "YYPURE" redefined
../common/getdate.tab.c:43:1: warning: this is the location of the previous
definition
Is it safe to continue or is this a bad build?
2012 Oct 30
1
pass javascript date variable to rails controller as params
I have an application where jquery fullcalendar is implemented. On day
click I need to pass the selected date as params to rails controller.
When I alert the date inside dayclick function, I am getting the date in
the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I
pass as params in jquery ajax to rails controller, it is passing blank.
How do I get it in rails
2003 Sep 04
2
build samba rpm for redhat 9
Hello group,
I have downloaded the source file of samba 3:
samba-3.0.0rc2-1.src.rpm.And build it for redhat 9.0,I
didn't see any redhat package of samba 3 for redhat
9.0.
when i install the source,and built redhat package
using the following command: rpmbuild -ba samba3.spec.
It seem OK,but at last,it report the error:
Can everybody help me and show me how to fix the
error.
Thanks a lot.
2006 Jan 10
2
DBDesigner4 to AR model (script)
Hi list,
I have hacked together a small script to generate an ActiveRecord model
from a DBDesigner 4 (fabForce.net) model file. Take it apart and feed it to
the pigs ;).
the article:
http://tua.ch/ruby/current.html
and the script:
http://tua.ch/ruby/dbmodel/compute_model.rb
best of whishes for the new year,
kaspar
code manufacture & ruby lab at http://www.tua.ch/ruby
2007 Dec 23
11
return day from date (javascript) ?
Ok, I know this isn''t a Rails problem, but if you could help me out
that''d be brill.
I''ve used JavaScript to create a new Date object containing a date of my
choice...
mydate = new Date("11/24/2007");
//going with Javascript''s mm/dd/yyyy format
now this is good, what i want to do now is put in an integer variable
the number for the day, in this case
2006 Jul 17
4
Inner SELECT-s in Rails
Is there a proper way of doing inner selects in rails.
Basically, I run in issues where I need the count of a query and end up
using find_by_sql. I was wondering if there was any elegant way of doing
such queries.
Roland
--
Posted via http://www.ruby-forum.com/.
2004 Sep 20
3
montecarlo simulation
Hy!
I would like to know how run a montecarlo simulation with R.
Thank you!!!!
Francesca Matalucci
__________________________________________________________________
Accesso Internet Gratis per utenti Excite! Attivalo subito!
http://www.excite.it/hitech/accesso
Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu!
http://www.excite.it
AAA/Relazioni. Sfoglia gli annunci e trova la
2009 Jan 02
2
segfault while running an R script
> MS <- floor (log2 (MinFileLen)) #NUMBER OF DECOMPOSITION LEVELS
*** caught segfault ***
address 0x31343142, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Any idea ? Thank you in advance.
Maura
tutti i telefonini TIM!
[[alternative HTML version
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write ,
based on the cdr_mysql.so module, an Sybase module.
To compile you can use something like that:
export SYBPLATFORM=linux
export SYBASE=/opt/sybase
cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c
cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm
-L$SYBASE/lib
(anyone could write the corect Makefile
2006 Jun 20
22
New e-book - The Money Train
While talking about my RailsConf presentation with Ben Wiseley, he
suggested writing a book on the same topic... so I did! The Money
Train is an e-book about building e-commerce sites using Ruby on Rails.
Read my blog entry about it at http://www.bencurtis.com/archives/
2006/06/rails-e-commerce-e-book/ or head to http://
www.agilewebdevelopment.com/book to dive right in.
As always, a big
2008 Feb 01
4
How to sanitize _before_ going into the database?
I use a call to the sanitize method every time I render some user
input, but it would be much nicer if I could clean it up once before
putting it into the database and avoid having to call the (relatively
expensive) sanitize every time I render a page.
My first thought was to just add something like:
def message=(x)
self[:message]=sanitize(x)
end
However, the sanitize helper cannot be called
2006 Feb 23
2
find_by_sql aliasing issue when accessing attributes
I was recently having problems accessing attributes in an object. Can
somebody explain to me why this is, and if it is a bug?
I have the following code:
@archives = RapturePost.find_by_sql "select distinct
date_format(rapture_posts.date_created,''%Y-%m'') date_created from
rapture_posts where rapture_posts.site_id = 1 order by
rapture_posts.date_created desc"
I
2009 Sep 16
3
How to extract a specific substring from a string (regular expressions) ? See details inside
Hi all,
I have thousands of strings like these ones:
"1159_1; YP_177963; PPE FAMILY PROTEIN"
"1100_13; SECRETED L-ALANINE DEHYDROGENASE ALD CAA15575"
"1141_24; gi;2894249;emb;CAA17111.1; PROBABLE ISOCITRATE DEHYDROGENASE"
and various others..
I'm interested to extract the code for the protein (in this example: YP_177963, CAA15575, CAA17111).
I
2006 Jan 19
0
db_schema_dump for SQL Server
We''re using migrations to manage a SQL Server project and have been running
into a number of issues with db_schema_dump/migrations. Can anyone confirm
that these are actual issues with the SQL Server adapter and not issues with
me :)
1) Fields are not properly setup with proper null settings (:null => true /
false). I''m wondering if we need to update the def columns method
2005 Jan 20
2
Johnson transformation
Hello,
I'm Carla, an italian student, I'm looking for a package to transform non normal data to normality. I tried to use Box Cox, but it's not ok. There is a package to use Johnson families' transormation? Can you give me any suggestions to find free software as R that use this trasform?
Thank yuo very much
Carla
____________________________________________________________
6X
2006 Jun 10
5
[REL] Manage Fixtures 2.0.0
Just released a new version of the _Managed Fixtures_ plugin, previously
known as _Export Fixtures_.
The name change comes with some added functionality for managing the
fixtures, primarily with two new import tasks for importing specific Models
or all of them within the test/fixtures directory.
Both new import tasks take the exported fixtures, and allow you to directly
import one, or all of