Displaying 20 results from an estimated 600 matches similar to: "Callback when objects connect as a habtm relationship"
2007 Mar 09
2
Is there any variable for Voicemail Password in Asterisk
Hi guys
This is my Ist post on this group. Is there any variable like ($VM_CALLERID
for voicemail mailbox) for accessing Asterisk Voicemail password which is
set through comedian mail.??????????????
plz reply me as soon as possible....
<html><div><PRE class=quote><IMG height=2
src="http://graphics.hotmail.com/greypixel.gif" width="100%"
2011 Apr 04
1
Problem using svm.tune
Dear Sir,
I am stuck with a nagging problem in using R for SVM regression. My data has 5
dimensions and 400 observations. The independent variables are :
Peb, Ksub, Sub, and Xtt.
The dependent variable is: Rexp.
I tried using the svm.tune function as well as <_tune(svm.....), to tune the
hyper parameters: gamma, epsilon and C.
Since I am new to R, I am probably not using the svm.tune
2007 Dec 18
1
Call Recording on Hanup
Hello everyone out there, I am having a problem in call recording with php
agi library. I have already recorded voice after playing an IVR, to accept
the recording user need to press one. but I need to record a call on hangup,
Is there any way to do it. Currently i am using record_file() function in
php. Is there any way to record voice by using record_file() function with
hangup. can anyone helps
2011 Apr 04
2
Please help
Dear Sir/Madam,
I am stuck with a nagging problem in using R for SVM regression. My data has 5
dimensions and 400 observations. The independent variables are :
Peb, Ksub, Sub, and Xtt.
The dependent variable is: Rexp.
I tried using the svm.tune function to tune the hyper parameters: gamma, epsilon and C.
I am getting the following error message:
Error in predict.svm(ret, xhold,
2007 Jul 21
3
unable to get "has_many :after_add" to work - need help
Can someone tell me what I''m doing wrong? I''ve spent way too much
time on this
--------------------------------------------------------------------------------------
class Picture < ActiveRecord::Base
has_many :ratings, :after_add => :increment_rating, :after_remove
=> :decrement_rating
def increment_members(rating)
self.rating += rating.amount
save!
2007 Oct 31
0
Jamshed Zaidi wants to chat
-----------------------------------------------------------------------
Jamshed Zaidi wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-41f7263365-9f176e071a-d710297ddb46eb39
You'll need to click this link to be able to chat with Jamshed Zaidi.
To get Gmail - a free email account from
2006 May 22
3
STI, HABTM & counter_cache
Hello world...
I have an interesting issue that the online docs aren''t helping me with.
In my app I have 4 models
Item < ActiveRecord
Deal < Item
Product < Item
Category < ActiveRecord
Item has_and_belongs_to_many :categories...
On each category record I''d like to maintain a product_count and deal_count
to increase performance. This doesn''t appear
2011 Apr 12
0
Help required
Hi Sadaf,
Out of curiosity, what sorts of things have you tried to fix this?
For example, after playing around with this a bit, if I remove your
"eps" parameter from your `ranges` list, it works.
Perhaps you should try tweaking the values you pick for your
parameters. You don't even have to put it in the `tune` function to
get an idea of the ranges you should use:
R>
2009 Jan 25
1
habtm relation and dependent => :destroy
Hi all ,
I have a habtm relation between 2 tables:
- users
- rights
If there a way to affect a destroy dependance on those 2 tables only for
the last instance? In my opinion, dependent => :destroy is not the
solution because this delete all the linked instance.
For example, if I have:
# in User model this:
- "Joooooo"
- "Jeannnn"
- "Tommmm"
# in Right
2006 Apr 30
1
Callbacks on has_many relation
Hello,
Is there a way to implement a callback for somehting like before_add and
after_ad on a statement like this with a has_many relation?
x.children << Item.create(:title=>"test")
I want that x has a callback that is called when the item is added.
I found something in
2006 Jan 31
2
How can I overwrite the parent.children.push(child) Method?
Hi all
I want to overwrite the push method (which is an alias of <<, the same
as concat) of collections, and there I want to test if :uniq is set to
true in the relationship. If so, the method should check if the passed
object is already related to the parent, or not (only then it will be
added).
But I just can''t find the original code of this method, so I could
overwrite
2004 Jul 16
0
Samba Read Only
i used samba 3.0.2 on RedHat 9 ( my Server )
my client using JAMD ( kernel 2.4 ) oke no problem, to mount share file we
using LinNeighborhood
and another my client using LormaLinux ( kernel 2.6.7 ), can mount the
share file, but went i open
file ( using open openoffice ) that file just read only
any solutions
regard's
zaidi
2012 Oct 12
0
[LLVMdev] Cambridge LLVM Afternoon Workshop on Monday
Hello the lists,
Please feel free to ignore this message if you are not in Cambridge.
As previously mentioned, we are hosting an afternoon LLVM workshop in the Computer Lab on Monday (15th). We'll start in the morning with a tutorial and then have 15-minute talks with 5 minutes for questions and speaker changeover in the afternoon.
The event is open to all and will be in room FW11 of the
2007 Oct 11
0
Problem in placing Call with Asterisk (Got SIP response 500 "Internal Server Error")
Hi guys this is my Ist mail on this group, I am running asterisk with CentOS
4.4 machine. When i initiate a call then error message apears. calling
Number is provided to Asterisk by the php application. Error message appears
like this
Got SIP response 500 "Internal Server Error" back from 209.47.92.xxxx
[Oct 10 23:55:20] WARNING[19289]: pbx.c:4976 ast_pbx_outgoing_exten:
2007 Dec 17
0
Problem in Recording file on Hangup ?????
Hi guys
I am facing a problem in recording voice on Hangup. I am using php agi class
for this purpose. Currently its voice message is being recording when i used
to press 1. For this purpose i am using record_file() function with its
respective parameters. Is there any way that i can be able to record my
voice message on hangup (don't want to send 1 as DTMF to asterisk.).
Can you guys guide me
2011 Aug 12
1
Getting nil value when setting an on Join model via a has_many :through relationship
Hi All,
I''ve been trying to figure out what''s wrong here for a little over a
day and figured i''d reach out to the ROR list.
A pastie explains the code a bit better than directly in email:
http://pastie.org/private/mvu0zr1xm18bsk6nfbyama
Basically i have an Artist, and he has many Songs through a join model
called Releases. An artist can be "featured" on a
2008 Oct 21
6
detecting width overflow in serialized column with mysql
So I''ve got an ActiveRecord model pointing to a MySQL db, with an
auto-serialized column ("serialize :columnName").
Thing is, MySQL, depending on how it''s configured (like, by default),
has a bad habit of just truncating your data if it''s too wide for the
column, with no error raised. Yeah, I can probably reconfigure MySQL
and/or my AR connection to it. But
2017 Aug 11
0
Revolutions blog: July 2017 roundup
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests
have written about R every weekday at the Revolutions blog
(http://blog.revolutionanalytics.com) and every month I post a summary
of articles from the previous month of particular interest to readers
of r-help.
In case you missed them, here are some articles related to R from the
month of July:
A tutorial on using the
2006 Oct 31
5
conditional boost? friends to come up at top of search...
Hey guys, im trying to get my friends to come up at the top of the act
as ferret search. I would query the whole result set first, then move my
friends to the top, but the thing is, Im paginating my results and use
the offset and limit parameters in the multi_search() function.
Anyone know how to do this?
Thanks in advance...
--
Posted via http://www.ruby-forum.com/.
2017 Jul 10
0
Revolutions blog: June 2017 roundup
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests
have written about R every weekday at the Revolutions blog
(http://blog.revolutionanalytics.com) and every month I post a summary
of articles from the previous month of particular interest to readers
of r-help.
In case you missed them, here are some articles related to R from the
month of June:
R 3.4.1 "Single