Displaying 2 results from an estimated 2 matches for "new_date".
Did you mean:
new_data
2009 May 05
3
Oracle-JRuby error
I am trying to migrate from RoR/MYSql to JRoR/Oracle. I am using Active
Record JDBC to talk to the database. The Migration process to create and
populate the database tables has been painful. My latest issue is the
method new_date is undefined in the JDBC adapter. I have the following
gems installed:
*** LOCAL GEMS ***
actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
ActiveRecord-JDBC (0.5)
activerecord-jdbc-adapter (0.9.1)
activeresource (2.2.2)
activesupport (2.2.2)
net-sftp (2.0.2)
net-ssh (2.0.11)
parseexce...
2011 Apr 03
3
Discretizing data rows into regular intervals
...250 12/01/07
5 10/01/06 10 12/01/07
What I need to do is create regularly spaced 3-month intervals (starting
with the first observed date) with values that are closest to but recorded
after the date created. I would stop at the stop date. So the result would
look like:
new_date value
1 01/02/05 100
2 04/02/05 100
3 07/02/05 100
4 10/02/05 200
5 01/02/06 150
6 04/02/06 250
7 07/02/06 250
8 10/02/06 10
9 01/02/07 10
etc
etc
etc 10/02/07 --- ## Final obs since next one would be 1/2/08 (after
s...