similar to: belongs_to and multiple foreign keys

Displaying 20 results from an estimated 400 matches similar to: "belongs_to and multiple foreign keys"

2006 Feb 14
6
Multiple associations to the same class
Hi, I cannot seem to create associations like this: class Project < ActiveRecord::Base belongs_to :manager, :class_name => ''User'', :foreign_key => ''manager'' belongs_to :liaison, :class_name => ''User'', :foreign_key => ''liaison'' end p = Project.new p.manager => 1 trying to retrieve associated objects
2013 Jun 06
6
Best Axxium Pro, Model Series 0650?
Hi There, We have this rather large-ish floor-standing Best Axxium Pro, Model Series 0650. I tried using both the "bestups" and "blazer_ser" drivers with it, but no go. So before I go any further: *Should* one of these work with it and, if not, do I have any options? (E.g.: Modify a current driver, resuscitate one that was started and abandoned, etc.? I can code.) My test
2015 May 27
2
Strange and complete failure of Asterisk 1.8
Hi all We've had a very strange failure on an Asterisk 1.8 install that has been running for about a year at a customer site. The physical hardware is fine, all other services off the Centos 6.5 server are running. Only Asterisk is not working... The first symptom was that no calls can be made over the SIP phones used with it, and no calls could be received over the SIP trunk connected to
2007 Jan 17
2
centos driver disk?
the recent discussion of support for Promise SATA drives reminded me that a while back i remember reading about a project to assemble a driver disk to provide wider hardware support than just stock CentOS. how's that coming along? i don't see anything in the wiki about it... as i have a vested interest in this project (since i'm still relying on old MegaRAID controllers),
2013 Aug 16
6
Back-up connection
Some weeks ago, I asked if anyone had set up a backup scheme for a remote server. By backup here, I mean an alternative arrangement that can be called upon if eg the DSL connection to the remote machine fails. I received one interesting reply: ====================== At home, besides my fixed lines, I have two gsm-modems, one low-speed (that came free of charge with one of my fixed lines), the
2019 Feb 15
3
C7 basic install, HATE
Stephen John Smoogen wrote: > On Thu, 14 Feb 2019 at 15:48, mark <m.roth at 5-cent.us> wrote: >> >> I've got an old server, that I'm *trying* to rebuild from C6. Our >> regular key, with the kickstarts, etc, simply won't boot. Just a blank >> screen, and it never goes anywhere. >> >> So I'm trying to build it from a year-old regular
2014 Jul 12
0
CentOS-7 problem
I installed CentOS-7 on an HP MicroServer from a KDELiveCD (on a USB stick), and it ran OK for a couple of days; but yesterday it wouldn't reboot - the dots went round the circle indefinitely, and when I clicked on Ctrl-Alt-Delete it said "[OK] Reached target Initrd Default Target". There didn't seem to be any way to reboot except to press the power button. I tried running
2015 May 27
0
Strange and complete failure of Asterisk 1.8
DNS failure could do this Asterisk used to get stuck in a symmetric DNS request wait state which meant everything ground to a halt as it waited for a reply while DNS timed out. The recommended option was either ip only or a DNS proxy that failed fast this letting asterisk continue Cheers Duncan > On 27/05/2015, at 11:55 pm, Stefan Viljoen <viljoens at verishare.co.za> wrote: >
2006 Feb 18
1
OT Futility Analysis
I beg your pardon if this is too off topic. I am posting here since I hope to find an R solution to my problem. Please indulge me while I give a little background about what I'm trying to do. I'm on a DSMB for a clinical trial. The Steering Committee for the trial has asked us to perform a futility analysis on their primary outcome which is a time-to-event endpoint. The trial was not
2004 Jul 05
1
Outliers
Last week there was a thread on outlier detection. I came across an article which has a very interesting paragraph. The article is Missing Values, Outliers, Robust Statistics, & Non-parametric Methods by Shaun Burke, RHM Techology Ltd, High Wycombe, Buckinghamshire, UK. It was the fourth article in a series which appeared in Scientific Data Management in 1998 and 1998. The very
2007 Mar 21
6
ORACLE DESC "table_name" Failure
I am getting "DESC CYCLEMSTR" failed; does it exist? errors on a table named CYCLEMSTR in Oracle every 3 out of 4 trys to do a simple find(:all) on the table. It is a legacy table that only contains 12 rows of join information. I don''t understand why it works one out of every 4 or 5 times help please. trace: (eval):3:in `describe''
2015 May 27
0
Re : asterisk-users] Strange and complete failure of Asterisk 1.8
Well, I had exactly the same issue as you described. It turned out to be a piece of malicious software that was running on the server. The customer server was compromised due to a weak root password and only Asterisk process was the target of the malicious program that was embedded deep into the server. The exact details escape me, but I do remember that it took more than two days of tracing
2011 Jan 21
3
Function comparable to cutpt.coxph from "Survival Analysis using S"
Dear Mrs Rachel Pearce, I am looking for a function "cutpt-coxph" in R - like you did some years ago. How have you solved the problem? Have you found it or a similar function? thank you, Sincerely, Friederike "The title says it all really; I am looking for a function along the lines of cutpt.coxph as described in "Survival Analysis Using S" (Tableman and Kim), Chapter
2005 Nov 10
6
Manually loading fixture data
Hi all, I''ve got some tables with fixed amounts of data in them (a "states" table, for example). For tables like this I can easily put *all* of the data in the fixture. For general futzing purposes, and for those times I want to reload a database from scratch outside of testing (for whatever reason), what''s the best approach? I thought perhaps ActiveRecord::Base had
2004 Sep 10
3
Project Announcement : New Media Container Format 'matroska'
Please allow me to announce the creation of a new open source Media Container Format, named 'matroska' Project page is here http://sf.net/projects/matroska ; homepage is http://matroska.sourceforge.net , HTML should be online soon. Steve 'robux4' LHomme and myself have left the MCF project because of incompatibilities of our work with the project goals defined by the founder of
2004 Sep 10
3
Project Announcement : New Media Container Format 'matroska'
Please allow me to announce the creation of a new open source Media Container Format, named 'matroska' Project page is here http://sf.net/projects/matroska ; homepage is http://matroska.sourceforge.net , HTML should be online soon. Steve 'robux4' LHomme and myself have left the MCF project because of incompatibilities of our work with the project goals defined by the founder of
2003 Aug 21
3
Diamond graphs
I apologise for starting a new thread, but we had a mail problem and I don't have the original message to refer to. Someone mentioned the new "Diamond Graphs" invented at Johns Hopkins. I haven't see the August 2003 issue of The American Statistician yet, but I _have_ read the press release. The press release is a bit of a stunner. I quote: "Who would have thought we
2012 Jan 26
2
How do I use the cut function to assign specific cut points?
I am new to R, and I am trying to cut a continuous variable BMI into different categories and can't figure out how to use it. I would like to cut it into four groups: <20, 20-25, 25-30 and >= 30. I am having difficulty figuring the code for <20 and >=30? Please help. Thank you. -- View this message in context:
2011 Feb 07
4
Is there a Centos 3 around ?
Hi ! I think one of my machine got hacked, but I can figure out from where... I found some suspicious file in /bin and /usr/bin directories that are owned by user id 122, where this machine doesn't a userid 122. So, does anyone hav a centos 3.9 install arround that can send me the info about (filesize, md5, modification date) these file : /bin : ls netstat ps /usr/bin/ dir find md5sum
2018 Aug 03
2
How to set macaddr with nmcli
I see my problem.? I mis-read what nmcli con mod eth0 mac "02:67:15:00:81:0B" does.? It sets HWADDR; which interface to link to, not MACADDR, what MAC address you want for your interface. So I have read the nmcli pages and googled a bit.? I cannot find a way to set MACADDR.? I suppose I can set HWADDR then use sed to change it to MACADDR, but this seems a real hack. ARM boards do