similar to: Relationship Conventions

Displaying 20 results from an estimated 4000 matches similar to: "Relationship Conventions"

2006 Jan 09
6
has_and_belongs_to_many :self
Hi all I got the following class: class Member < ActiveRecord::Base has_and_belongs_to_many :buddies, :class_name => ''Member'', :join_table => ''members_have_buddies'', :foreign_key => ''member_id'', :association_foreign_key =>
2006 Jan 12
0
HABTM with conditional field in relation table
Hi all I have members in my application, and every member can assign other members as buddies. class Member < ActiveRecord::Base # Hat folgende Buddies has_and_belongs_to_many :buddies, :class_name => ''Member'', :join_table => ''members_have_buddies'',
2006 Jan 11
4
Member.buddies.sort >> undefined method `<=>''
Hi all I have a model Member that has a habtm relationship to buddies (also members). Now I wanted to sort them using sort, but this ends in an error "undefined method <=>"! Where''s the problem here? Sorry, I''m still beginning to learn Ruby. ;-) Thanks Josh -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
2
Self-Referential has_many :through
Hello all. I am trying to create a self-referential has_many :through. I used the following site as a guide http://blog.hasmanythrough.com/articles/2006/04/21/self-referential-through but it still doesn''t appear to be working. I have two models. Person and Relationship. A person has many contacts (Which is another person) through relationships class Person < ActiveRecord::Base
2006 Feb 27
4
2 belongs_to to the same parent table
Hello! I have 2 table: users and buddies User: id, name, ... Buddy: id, user_id, user_buddy_id, ... So if you have 2 users 1,jack and 2,fred and fred is a buddy of jack, there is a Buddy object: id=1, user_id=1, user_buddy_id=2 I can declare only one belongs_to in Buddy and one has_many in User. And there is conflict if I had the second one (the first one is discarded) class User has_many
2007 Jan 18
1
RE: Polycom buddies question
A follow up (late better than never) Finally had time to sit down and look at this sip.cfg <keys key.scrolling.timeout="1" key.IP_500.31.function.prim="BuddyStatus"/> This turns the Services key which I never use on a 501 into the Buddy Status. It even works while on a call. One touch! Bill ________________________________ From: Bill Gibbs
2006 Dec 07
2
Polycom buddies question
I know this is not asterisk specific but we all know this group is used for Polycom issues as well... I have hints working ok on Asterisk. However the Polycom phone will only show the buddies key if there is not a call. This defeats the purpose of using the buddies to see if you can transfer a call to another extension (using the Buddy key to see if they are on the phone). Polycom sip
2005 Jan 04
6
Polycom Buddy Feature
Greetings, Recently there has been talk of the presence/buddy feature with asterisk and Polycom phones. I have it setup, and working as expected, however I can only get 7 buddies to appear on the screen at any given time. Has anyone gotten more than 7 buddies to appear? I'm just trying to find out if this is some polycom limitation, bug, or my error. Thanks, Matt -- Matt Gibson VOIP
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she has an STI... Actually, I currently have three different models, like: Dog, Whale, Monkey They all have some similar attributes, but, they are unique enough to break into their own models. I could use STI, but I think the table would just have too many columns. Now, I wanted to let the Dog''s, Whale''s
2006 Jun 19
4
Polycom Buddies in 1.6.6
All, Slightly off topic. Polycom released their SIP software version 1.6.6 for their phones recently. I was under the impression that this release fixed a previous limitation where the phones would only watch 7 buddies, ie send 7 sip subscriptions to Asterisk. I have configured a phone directory to watch 30 or so appearances, and it still seems to only be sending 7 subscriptions to Asterisk.
2006 Jun 09
1
Polycom subscriptions
Somewhat off topic. We upgraded a Polycom phone from SIP v1.6.3 to v1.6.6 The phone will no longer send SIP subscription messages for buddies to Asterisk. I have broken the directory file down to make it as simple as possible. Here is what it contains. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- $Revision: 1.2 $ $Date: 2004/12/21 18:28:05
2010 Jul 16
2
SKYPE - Authenticate incoming call
>> >> >> Hi All, >> >> After getting licences for Skype for asterisk a while ago I finally got >> around to setting up a server with two channels and setting up a bcp on >> the skype end. >> >> The idea behind this is the following: >> >> Users can dial into the PBX, get authenticated and only after> >>
2007 Feb 06
2
Buddy list order
I could have sworn I saw a post about this recently but I can't find it so apologies if this is a dupe, but is there anyway to control the order in the Polycom Buddies list? Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070206/b2d3c1fc/attachment.htm
2008 Jun 11
1
Asterisk and XMPP (Jabber) : testing new application JabberReceive
Friends, a new dialplan application is now available for testing : http://svn.digium.com/view/asterisk/team/phsultan/jabberreceive/ The corresponding feature request is located here : http://bugs.digium.com/view.php?id=12569 What can you do with it? Well, a direct usage of this application is to make an easy to use GoogleTalk voice gateway out of Asterisk. Here is an example (assuming the
2004 Dec 23
1
Polycom Buddies
I've got two Polycom 500's that I'm playing with, and I want view the status of either phone, (busy/on the phone/etc.) from the other. I've got this cute little 'Buddies' button, and I can add contacts to that. But the status doesnt actually update. Do I need to setup realtime for asterisk? Can anyone point me to some documentation or give me some hints? Thanks, Nihal
2006 Mar 06
1
Buddy watch?
Hi, I am using Polycom 501 and I came across a problem. As soon as I have incominglimit=1 in sip.conf, which is necessary for buddy watching, I cannot transfer calls. On the console it tells me: Call from user '3052' rejected due to usage limit of 1. Can someone please tell me how to get around this problem? (I don't know if this is relevant, but in the phone.cfg file, I have
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only called when the whole thing is done - in the case of Updater, right after the update, in the case of PeriodicalUpdater, right after it has been stopped. It looks like you need to pass your callback method as an ''insertion'' method in the options. This takes two parameters, the first will probably be the
2006 Feb 22
4
Polycom IP 601 Buddy Watch problems
Hi, I configured Buddy Watch function on my Polycom IP 601. It works well, until I make a reload of Asterisk. After reload, It can't monitor any lines and I have to restart the phone to reactivate this function. Is this a specific problem of asterisk-1.2.3? How can I solve it? Thank in advance, regards, Marco.
2006 May 27
1
Polycom 600 presence indication on *LED*?
I've somehow managed to battle may way through hinting issues with type=peer type=friend and various other oddities and now have presence working correctly on my Polycom 600 and Grandstream GXP-2000 phones. However, on the Polycom I have to press the Buddies softkey in order to see if an extension with a hints priority is in use or not. I've spent all day going through google and my
2016 Apr 06
1
[PATCH v3 01/16] mm: use put_page to free page instead of putback_lru_page
On Tue, Apr 05, 2016 at 10:20:50AM +0200, Vlastimil Babka wrote: > On 04/05/2016 03:54 AM, Naoya Horiguchi wrote: > > On Mon, Apr 04, 2016 at 04:46:31PM +0200, Vlastimil Babka wrote: > >> On 04/04/2016 06:45 AM, Naoya Horiguchi wrote: > >>> On Mon, Apr 04, 2016 at 10:39:17AM +0900, Minchan Kim wrote: > > ... > >>>>> > >>>>>