Displaying 2 results from an estimated 2 matches for "developer_id".
2011 Feb 25
4
Error
...b  1999  0  1 
3 1  c  1999  0  1 
4 1  d  1999  1  0 
5 2  c  2001  1  0 
6 2  d  2001  0  1 
7 3  a  2004  0  1 
8 3  b  2004  0  1 
9 3  d  2004  0  1 
10 4  b  2001  1  0 
11 4  c  2001  1  0 
12 4  d  2001  0  1"),head=TRUE,stringsAsFactors=FALSE)) 
DF<-DF[order(DF$B,DF$C),]#order by developer_id and year 
f<- function(x) 
	{ 
  	unlist(lapply(x, FUN = function(z) cumsum(z) - z)) 
	}
DF<-cbind(DF[,c(1:3)],ave(DF[, c(4:5)],DF$B, FUN = f))
I get the following error:
Error in `[<-.data.frame`(`*tmp*`, i, , value = integer(0)) : 
  replacement has 0 items, need 37597770
In addition:...
2006 Oct 16
6
Rails AR/Oracle Unit Test: [5310] failed (but getting better)
...sToManyAssociationsTest):
ActiveRecord::StatementInvalid: OCIError: ORA-01791: not a SELECTed expression: SELECT DISTINCT projects.id FROM projects  LEFT OUTER JOIN developers_projects ON developers_projects.project_id = projects.id  LEFT OUTER JOIN developers ON developers.id = developers_projects.developer_id ORDER BY developers.created_at 
    ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log''
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:243:in `execute''
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:449:in...