similar to: Polymorphic association..explain the extra query ?

Displaying 20 results from an estimated 2000 matches similar to: "Polymorphic association..explain the extra query ?"

2007 Dec 21
3
error installing gems
Hi all. While installing gems i am getting an error: ERROR: Error installing gem xml-simple-1.0.11.gem[.gem]: install directory thname:e:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.11> not absolute Ruby Version = 1.8.4 Rails Version = 1.2.5 Gems Version = 0.9.4 can anybody provide any pointers??? Thanks Arpit.
2008 Jan 11
1
Merging flv files
Hi , i need to merge two flv videos , i have tried using this command: mencoder -oac copy -ovc copy -idx -o c.flv a.flv b.flv, the resulting file is of expected size , but somehow i am not able to play it .... Please let me know your thoughts Thanks Aprit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2010 Jan 13
2
[Ajax on Rails]How to pass an object via param
I''m trying to pass an object as a parameter on a link_to_remote. What I do is pretty simple: link_to_remote ''Insert subquestion'', :url => {:action => ''add_subquestion'', :question => @question}, :update => '''', :method => :get But, obviously, what I get is a string which has the address of the object. Can I
2007 Dec 06
2
Print CALLERID in CLI during "pri debug "
Hi all, I was wondering if it is possible to print the callerid value in the CLI when doing 'pri debug span 1' For example > Call Ref: len= 2 (reference 2707/0xA93) (Terminator) > Message type: CONNECT (7) > [18 03 a9 83 97] > Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 > ChanSel: Reserved >
2007 Oct 04
5
Setting caller id value on outgoing calls using .call files
Hi all, I was looking at a way to add the caller id to the outgoing calls (which are made using .call files) using asterisk. Any ideas how to do this ? Currently I get 'Unknown' number displayed on my phone when asterisk makes an outgoing call. Also using something like this is not working as it still displays unknown number. I want set the callerid on the 1.call which is made. exten
2007 Oct 04
1
Asterisk Caller ID Info
Hi Asterisk Users, I was wondering why a call that is received from Asterisk shows a caller ID 'Unknown' . So here is the scenario, 'A' calls 'Asterisk'. 'A' joins a conference on 'Asterisk'. 'Asterisk' calls 'B'. 'B' gets joined to the same conference also. 'B' somehow receives the caller ID 'Unknown' and not the
2007 Jul 08
2
Auto Fall Through when kicking users in MeetMe
Hi all, My scenario is such that I have three users connected to a conference. CLI> meetme list 1234 User #: 01 9176502096 <no name> Channel: Zap/23-1 (unmonitored)00:00:32 User #: 02 john john Channel: SIP/john-b7800468 (unmonitored) 00:00:28 User #: 03 6463875998 <no name> Channel: Zap/22-1 (unmonitored)00:00:19 3 users in that
2007 Nov 02
3
use dial plan passed arg value in C agi code
Hello * users, I know that passing variable in the AGI script is by exten => _.,1,AGI(simple_c_prgm|123|789) ; 123, 789 are arguments being passed and simple_c_prgm is C code Now how will I receive these variables within C code ? Is it by the same way arguments are passed in command line to C by using argc and argv or there is more to be done than that? Thanks Regards -- Arpit Mehta
2007 May 17
2
Call to an arbitrary outbound number by asterisk
Hi, I have a strange problem. I have a TE110p digium card. I want to dial 19173995791 when any incoming call comes in. What is happening is that when I dial 19173-995791. Asterisk picks up the first 5 digits assuming it is the extension and appends 212-85 (here in the university most numbers start with this) in front . Therefore I get connected to some random number 212-85-(19173) (where the
2007 Sep 18
2
ISDN PRI debug in Asterisk
Hi all, Does Asterisk contain a full fledged ISDN packet sniffer. By giving the command " pri intense debug span 1 " , does it debug every packet received (control and voice/data packets) ? Thanks -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998
2007 Nov 26
2
Get IP address of an incoming or outgoing SIP call
Hi * Users, What is the way from the dial-plan to get the IP address of an incoming or outgoing SIP call? I can see the IP address of the SIP call using 'sip show peers' from the CLI. Thanks Regards -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998
2011 Oct 06
1
Sweave and bibliographies
I added a bibliographic reference to one of my .Rnw documents, to wit: \begin{thebibliography}{9} \bibitem{Jose} Jos{\'{e}} C. Pinheiro and Douglas M. Bates, \emph{Mixed-Effects Models in S and S-PLUS}, Springer, 2000. \end{thebibliography} just before the \end{document}. When I run Sweave on the result these lines disappear without a trace. Is this intentional? Subquestion: is
2011 Dec 01
2
Association problem
Hi all I am using four models user, member, unit, society I have linked member, unit and society through member_property table user has one to one association with member while all other models have many to many association. How do I link user to member, and user to unit through member i wanted something like <%= @user.member.unit.unit_number %></p> Can someone guide how to
2006 Jul 01
4
Radio_button in loop problem
Hi all, I can''t figure out why my radio_buttons won''t reflect the values stored in my database. I read through some of the previous posts -- is it true that they don''t work with integers? This is the code I''m using: <% for question in @survey.questions %> <%= debug question %> <%= radio_button ( "question", :question_id,
2003 Dec 07
1
u32 hash-es ?
hi I would like to ask is the following config correct for what I want to achieve ... Scenario: I have 3 networks 192.168.12.0/24, 192.168.48.0/24, 192.168.56.0/24 and most of the users use 1 IP, some of them more... If I make flat u32-filter search the box will make aprox/max 3 * 256 = 768 checks for every IP, so i''m deciding to deploy u32 hashes.. Here is the config I think to use
2017 Dec 19
3
Unable to run TeamViewer 13 under Centos 7 (amd64)
Manish Jain wrote: > > On 12/19/17 22:11, Manish Jain wrote: >> On 12/19/17 22:07, Jonathan Billings wrote: >>> On Tue, Dec 19, 2017 at 02:54:36PM +0000, Manish Jain wrote: >>>> I uninstalled the old TV, and installed the version you indicated, but >>>> I >>>> get nothing at all: >>>> >>>> /home/bourne # teamviewer
2017 Dec 19
2
Unable to run TeamViewer 13 under Centos 7 (amd64)
On 12/19/2017 02:57 PM, Manish Jain wrote: > > > On 12/20/17 01:45, m.roth at 5-cent.us wrote: >> Manish Jain wrote: >>> >>> On 12/19/17 22:11, Manish Jain wrote: >>>> On 12/19/17 22:07, Jonathan Billings wrote: >>>>> On Tue, Dec 19, 2017 at 02:54:36PM +0000, Manish Jain wrote: >>>>>> I uninstalled the old TV, and
2017 Dec 19
6
Unable to run TeamViewer 13 under Centos 7 (amd64)
On 12/19/17 19:55, Johnny Hughes wrote: > On 12/19/2017 07:16 AM, Manish Jain wrote: >> Hi, >> >> I am writing a book about Unix (Linux / FreeBSD) and my book needs >> documentation for TeamViewer13 running under Centos 7 (64-bit). >> >> Unfortunately, running TeamViewer does not get me a GUI -- the install >> went smoothly and teamviewerd daemon is
2006 Apr 04
2
Syntax Error in find()
Maybe I misunderstand the parameterization of find(), I am getting this syntax error for <% @choices = Choic e.find(:all, :conditions => "question_id" = question.id, :order => "order") %> ---- ERROR LOG ---- ActionView::TemplateError (compile error ../config/../app/views/admin/test/show.rhtml:37: syntax error _erbout.concat " "; @choices =
2017 Dec 19
2
Unable to run TeamViewer 13 under Centos 7 (amd64)
On 12/19/2017 03:57 PM, Manish Jain wrote: > > > On 12/20/17 01:45, m.roth at 5-cent.us wrote: >> Manish Jain wrote: >>> >>> On 12/19/17 22:11, Manish Jain wrote: >>>> On 12/19/17 22:07, Jonathan Billings wrote: >>>>> On Tue, Dec 19, 2017 at 02:54:36PM +0000, Manish Jain wrote: >>>>>> I uninstalled the old TV, and