similar to: ActiveRecord Question across Tables

Displaying 20 results from an estimated 8000 matches similar to: "ActiveRecord Question across Tables"

2007 Jun 08
5
autotest bug?
Autotest is running continuously - even when the files mtimes aren''t changing. I believe this only happens if using a failures file. autotest -v gives me: euclid% autotest -v loading autotest/rails_rspec /opt/local/bin/ruby -S script/spec -O spec/spec.opts spec/ controllers/log_entries_controller_spec.rb spec/views/login/ new_spec.rb spec/controllers/login_controller_spec.rb
2008 Jun 20
2
how do I manage a Dell PE 860 server via IPMI?
Hi all I'm trying to get to grips with this one, but just can't figure it out. I recently acquired some 2nd hand Dell Poweredge 860 servers, and noticed that they have built in remote management interfaces. So, I have setup one, and assigned an IP address to it, but have no idea on how to access it remotely. Google'ing for an answer didn't bring me more than general product
2006 Jul 20
3
AOP in Prototype / JS
Hey folks I am just investigating using Aspects for logging my main Javascript "interfaces". I don''t believe Prototype has any built in capabilities for this but I just thought I''d check and see how people had tackled this before. I am still getting to grips with core JS so apologies if this is easy or obvious.. I am Googling as we speak also.. Cheers Matt
2003 Mar 04
3
for loop problem
Hi, I'm just coming to grips with "for" looping etc. and have a bit of a problem: I want to generate a sequence which goes 1 2 3 4 5 6 7 8 14 15 16 17 18 19 20 21 26 27 ... i.e. 8 consecutive numbers then 5 missed then the next 8 numbers etc. I was going to do this using the seq() function but couldn't figure out how so I thought I'd try a loop: for (x in seq(1,650,13)) {
2011 Nov 13
1
Dovecot v2.0.13 unix_listeners
Could somebody be able to explain to me what the various unix_listeners do in the Dovecot 2.x configuration (specifically in 10-master.conf). Currently, for postfix to use for local delivery, I have: service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } and for auth I have: service auth { unix_listener
2009 Oct 29
1
correlated binary data and overall probability
Dear All, I try to simulate correlated binary data for a clinical research project. Unfortunately, I do not come to grips with bindata(). Consider corr<-data.frame(ID=as.factor(rep(c(1:10), each=5)), task=as.factor(rep(c(1:5),10))) [this format might be more appropriate:] corr2<-data.frame(ID=as.factor(rep(c(1:10),5)), tablet=as.factor(rep(c(1:5),each=10))) Now, I want to
2001 Sep 02
1
is there a wine "rpm" or similar pls?
I am v v newbie, want to get to grips with linux but mostly interested in using the PC; so the idea of wine appeals a lot. from what I see you generally have to build or compile or something it. Is there a rpm package, if I am using the term correctly, like a windows self-installing thing, i.e. one single file I can download, click on, it goes thru a (preferably non-interactive, I am happy
2004 Nov 28
1
IAX2 and FWD problems?
Hi, I'm slowly getting to grips with *. My next quest is to get IAX2/FWD calls working. I've setup a fwd account and added IAX capability to it via the website. I got the email saying it had been done with some welcome text and sample phone numbers to try, such as 10001 for the answer phone. I followed the setup example on the fwd site for configuring * to work with fwd's IAX.
2006 Feb 20
3
Boxplot Help for Neophyte
R helpers I am getting to grips with R but came across a small problem today that I could not fix by myself. I have 3 text files, each with a single column of data. I read them in using: myData1<-scan("C:/Program Files/R/myData1.txt") myData2<-scan("C:/Program Files/R/myData2.txt") myData3<-scan("C:/Program Files/R/myData3.txt") I wanted to produce a
2010 Dec 30
2
Analysing Character Strings for subsequent frequency analysis
Hi I'm trying to get to grips with R and establish R as a teaching medium in my secondary school. I would like to use R to analyse text so I can produce frequency analysis of the text for subsequent examination of ciphers. I can produce code in VBA but I am struggling when writing in R to examine each character. There must be a clear method using the vectorised format of R. Furthermore,
2006 Jul 16
4
Calculations across multiple tables
I have a time tracking app where (pseudo-code) Client has_many Task has_many TimeRecord TimeRecord start_at, :datetime end_at, :datetime What I''m trying to do (and I have done using find_by_sql in the past) is get a sum of the timespan given by ended_at - begun_at for each client. Is it naive to imagine that AR''s calculations will span relations to provide a grouped
1999 Mar 25
1
lme problem
Hi I am trying to get to grips with lme and perhaps the euro-cent is not dropping. I want to define a model with some terms random and some fixed so that: gd<-groupedData(y~x|c,df) defining by the group c in data frame df, whereupon mod<-lme(y~t+f,gd,~t) where I want the t as a random effect and the f as the fixed part. Without the f it works OK but when I add the f, I get an error
2018 May 13
2
dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
Am attempting to bring my mailserver back to home server post house move and whilst I could use rsync have been trying to get to grips with dsync. However, I seem to have an issue - my current server specifies mail_location as maildir:/var/vmail/%d/%n/Maildir:LAYOUT=fs and my imapc config on new server is as follows ... imapc_host = old.mailserver.host imapc_user = %u imapc_master_user =
2001 Mar 29
1
Question regarding Principle Component Analysis and R for Windows
Hi there, I am a post-grad (Arts!) student trying to get to grips with R... Though I am not statistically trained my research involves working with a large amount of numerical data currently held in Excel. I have been told by a Stats trained advisor that I should examine my data by some sort of Pricincipal Component Analysis. My questions then are (all apologies if they seem simple but I am
2011 Jul 30
3
48 Hour Old Ubuntu 'Natty' user needs help
Hey, Ive just replaced Windows 7 on my laptop with Ubuntu Natty. I'm an experienced computer user with more than half a brain so i am usually good at getting things to work but I absolutely cannot figure out how to install a game Ive downloaded so could someone talk me through it please. Mastering this game will lead on to others. I have downloaded Lords of the Realm II in ISO format. I
2005 Mar 26
2
ActiveRecord help needed
Hello, my name is Magnus and I am a RoR-newbie. I am trying to get the grip of ActiveRecord but I am having trouble to find good examples. I have been looking at this: http://wiki.rubyonrails.com/rails/show/AccessControlListExample Where you can find this Model code: require ''active_record'' class Permission < ActiveRecord::Base has_and_belongs_to_many :roles end
2003 Oct 15
1
RODBC on Mac OSX pointers?
Hi, I'm trying to get to grips with accessing my postgresql tables in R using RODBC. I have Mac OS 10.2.8 (Darwin 6.8) installed and R 1.8.0 installed from source and I have updated RODBC to 1.0-4. On the ODBC manager end, I am using OpenLink software's iODBC Administrator and I've set up a User DSN called "PostGRES" - odbctest suggests that this is functioning: >
2002 Aug 13
1
Samba/Cups Newbie question...
Hi, I think that this is more a Samba query than a Cups one, as far as I can tell from the documentation anyway... I am running samba-2.2.5-1 and cups-1.1.16, I have these installed and working correctly... I have 50+ PC's (mixture of WinNT, Win2k, WinXP and Win9x/ME) printing to 6 queues on the server, 5 of these are RAW queues printing via lpd and ipp, and the other is a socket
2011 Aug 16
1
deSolve, extracting variable values from inside ode function
I'm just getting to grips with using ode function and have used the examples and vignettes to produce a small model of a one-pool, michaelis-menten, enzyme kinetic reaction. The rate of flux of substrate into pool A is constant (fluxoa) however the rate of flux out of pool A is controlled by the HMM equation (v = Vmax/ ( 1 + (Km / Concentration A )) ). This function works fine and
2002 Jul 09
1
Vorbis Block Diagram
Hi, I have looked through the documentation available from the downloads and the web and haven't yet come across a block diagram which shows exactly how the process of going from a .wav file to a .ogg file works. I suspect it is the same as the mp3 process (with a different psychoacoustic model). I found this document: