similar to: HABTM relationship with two join tables

Displaying 20 results from an estimated 1000 matches similar to: "HABTM relationship with two join tables"

2006 Apr 16
1
has_many :through and belongs_to
I have a relationship where a Show has_many Techs through People. From what I understand that requires me to put belongs_to Show in the People model. My problem is that a Tech can belong to many Shows. Is there any way of solving this besides putting a has_many Shows relationship in People -- Posted via http://www.ruby-forum.com/.
2007 Jun 04
2
Re: Ajax.Request question with JSON return
Do I need something like this: eval(''('' + this.header(''X-JSON'') + '')'') (taken from Cody Swann, http://ajaxian.com/archives/prototype-extension-dynamic-script-pattern-support ). I''m guessing my problem is simpler, and I''m leaving something small out related to the header though. Thanks for any help -Mark 1. evalJSON:
2007 May 16
2
selinux-policy-targeted-sources and CentOS 5?
What is the equivelent "selinux-policy-targeted-sources" package in CentOS 5? It was available in 4.4. Thanks for any help. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out."
2005 Jun 26
2
FXO as modem (was: * fax reliability between ISDN PRI and FXS ports)
Rich Adamson <radamson@routers.com> wrote: > >> I have been investigating on this list and found that faxing is not >> reliable between Zaptel >> cards and that Digium does not support nor >> recommend fax over the TDMXXB interfaces. >> >> Is this true ? Will fax not be reliable enough for my customer ? > > True... the TDM card (or its drivers)
2000 Sep 04
1
Man pages
I've noticed that the man pages provided in the tarball do not work on Solaris - the output is not formatted as expected. On a linux box it is possible to view the man pages using nroff -mdoc ./sshd.8, where prepended file is /usr/lib/groff/tmac/tmac.doc. There does not appear to be an equivelent macro file on Solaris 2.6. Does anybody know how I can get the man pages to display properly on
2004 Aug 06
1
icecast.xml syntax for relaying.
Hi all, In Icecast1 to specify a server to relay another server I would use : alias / http://server.example.com:8000 But in icecast2's icecast.xml I cannot see how the equivelent would be accomplished. Perhaps the <master-server> element? But there is no way to specify a mount point. Are there any documents describing valid configuration file elements for icecast.xml? Kind
2006 Aug 14
3
php include() equivalent
Is there an equivelent ruby function that is similar or exactly the same as the php include() function? I would like to be able to include a header for my RoR web application that refers to a url. Thanks! -Gilles -- Posted via http://www.ruby-forum.com/.
2004 Nov 04
2
Bug report (PR#7341)
Full_Name: Dan B Version: na OS: na Submission from: (NULL) (80.6.127.185) I can't log into the bug tracker (I can't find where to register / login). In this way I can't add the following context diff (hopefully in the right order) for my changes to the matrix.Rd... Hmm... I guess this should be a separate report anyway... The first diff explains how the dimnames list should
2009 Dec 30
2
Auto-provisioining Polycom 430 wth dd-wrt router
Hi all, I'm trying to use a wrt54gl router running dd-wrt as a provisioning server for a remote installation. I've got dhcp working and I have provisioning files ready to go. I understand that I need to set bootp option 66 to point to the tftp/ftp/http server. In fact, I have this working completely with the ISC dhcp server The problem is that I don't know how to get
2005 Dec 30
5
HABTM with finder_sql problem (Rails bug?)
I''m building an app that needs i18n support across the entire database (i.e. localized attributes). In order to do this I''ve created a special HABTM join table that can be associated with _any_ other table: create table language_strings ( for_table varchar(255) not null, foreign_id int not null, language_id varchar(5) not null, attr_name varchar(255) not null, value text
2001 May 20
4
ssh - NO SALE or NO GIVE ?
Thanks to everyone who has replied to my emails so far - to summarise: AIX allows setting of rlogin=false and and a su group, or a list of users that are permitted to "su" to root. ( or other functional ids ) This means with entries in /etc/ftpusers, it is possible to : 1/ Track who used root via sulog and or external logging 2/ Protect root even if the root password is compromised 3/
2006 Jun 15
0
Best practice for params key names for mapping to models
What''s the best practice for naming keys in the params array so they map most efficiently to models? There isn''t an equivelent of ActiveRecord for mapping params keys to models, so I''m wondering if there is a best practice. I''m writing an addressbook with a form that has mixed models on it and multiple one-to-many relations. I''m processing new
2005 Jun 09
0
[LLVMdev] Re: ELF / COFF Interface
Alexander Friedman wrote: >>Yeah, you don't want anything like BFD. >> >> >> >>>Here's some things I've discovered so far and associated questions: >>> >>>1) We're really only interested in a writing interface to create the >>>object files. If we get that right we can use dlsym and friends to do >>>the
2004 Jun 29
0
chan_dialogic
The advice i was given was to spend the license money on a digium card and sell the dialogic on ebay! Whilst the digium card requires more from the host processor and may not be approved in as many countries as the equivelent dialogic, I think that for most cases the advice was sound. Actually, I kept the dialogic card, but that was for support purposes. Tim. Isamar Maia
2005 Jun 27
0
Re: FXO as modem (was: * fax reliability between ISDN PRI andFXS ports)
Hi Andrew, Andrew Kohlsmith wrote: > > On Monday 27 June 2005 00:34, Jerry wrote: >> Question: There are problems using FXS ports to pass data and get high >> speed access, but can an FXO port be used as a modem? Nothing fancy >> required, 12 or 2400 baud should be ok (9600+ would be nice, but >> practical >> over nice). I know there is something like this with
1999 Jan 19
0
"don't descend"
What is the intended implementation of "don't descend". a) treat all files that are in the "don't descend hierarchy as "no such file" (or equivelent) or b) disable opendir() on "don't descent directories", but allow (for example) stats on files that are in the "don't descend directories" I would have expected the 1st. Sambe
2001 Oct 29
0
Multiple UID-0 accounts in a Samba domain?
Hi folks, I have a Solaris 8 machine, running Samba 2.2.2, acting as a domain controller. Several different people in the Department do administrative work, such as adding client machines to the network. Rather than a single shared root password we've historically given each sysadmin a root equivelent account, so that in addition to root account there are several other administrator accounts
2005 Nov 09
0
OggYUV
On Wed, Nov 09, 2005 at 01:14:08PM +0800, illiminable wrote: > > >I agree, which is why I wrote the OggPCM draft when we already have FLAC. > >These > >formats are not difficult to design or implement, and I think the added > >efficiency and simplicity will more than make up for it. > > Which i looked at... and i'm wondering why on earth it has a sync code
2004 Oct 23
0
Raw Printing, was cupsaddsmb and .inf files
Howdy, I've just successfully configured a win2k system to print on a raw queue, but apparenty not through samba. I'm courious as to why that didn't work, and would like to help update the documentation to cover this in more detail, if only I understood it better. I started by following the directions here under "Raw Print Serving Vendor Drivers on Windows Clients":
2009 Dec 15
1
cdr question
Hello, I'm using Asterisk 1.6.X version and I'm creating IVR. My question : is it possible create CDR record , before client is exiting from contexts ? My test dialplan is: context Sales { _X. => { Ringing(); Wait(4); Answer(); Playback(tt-monkeys); goto Techs|${EXTEN}|1; } } context Techs { _X. => { Playback(tt-monkeys); Playback(tt-monkeys); goto