similar to: how to get id of other table

Displaying 20 results from an estimated 2000 matches similar to: "how to get id of other table"

2009 Sep 03
12
paperclip is not saving the files
Hi all, I''ve installed paperclips but paperclip is not saving the files my model has has_attached_file :attachment,:styles => { :medium => "300x300>", :thumb => "100x100>" } and i have db migration as class AddAttachmentToPolicies < ActiveRecord::Migration def self.up add_column :policies,
2009 Sep 02
3
how to upload a file and to download it
hi all , Plz give me some links on how to upload and download files in RoR. I want to upload a pdf file in one login and i want to download the same in other login
2003 Sep 23
1
smbclient write default to stderr?
Hi I have problem with smbclient in samba3 rc2, rc4. When I start tar backup with it: smbclient //comp-32/volume pass -U user -d0 -Tc /dev/tape0 > /dev/null [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830) directory \Kart-32\ [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830) directory \Kart-32\mairs\ [2003/09/23 08:27:46, 0]
2016 Aug 02
29
[Bug 97192] New: SuperTuxkart graphic errors [NVE4 - GK104]
https://bugs.freedesktop.org/show_bug.cgi?id=97192 Bug ID: 97192 Summary: SuperTuxkart graphic errors [NVE4 - GK104] Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: other Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee:
2009 Aug 01
23
Hi doubt in unit testing
def test_check_for_validity post=County.new(:name=>"myname",:description=>"mydesc") assert post.save end above is the method and when i run unit test it is saying as 1) Failure: test_check_for_validity(CountyTest) [/test/unit/county_test.rb:10]: <false> is not true. what does it say i cannot under stand please help -- Karthik.k Mobile -
2009 Jul 29
6
Doubt in nil object with ajax
hi this is my htnl <html> <head> <%= javascript_include_tag :defaults %> </head> <body> <%= form_tag nil, { :id => ''search_form'' } %> <%= text_field ''recipe'', ''name'' %> <%= end_form_tag %> <div id="recipe"> </div> <%= observe_form :search_form, :frequency =>
2011 May 12
2
Exporting interactive 3D plots with axes and labels
Hi, I have a question about exporting interactive 3D plots. I use the following code to plot a contour of a trivariate normal distribution: library(mvtnorm) library(rgl) library(misc3d) n=25 x=seq(-3,3,length=n) X=cbind(rep(x,each=n**2),rep(rep(x,each=n),n),rep(x,n**2)) p=array(dmvnorm(X,sigma=diag(3)*0.5+0.5),c(n,n,n)) contour3d(p,x,x,x,level=mean(p)) lim=c(-3,3)
2003 Dec 07
3
FARFON lives!
Some of you have been following our progress on http://farfon.convergence.com.pk as we blundered our way through the development of a low-cost ethernet IP phone that does IAX and augments the client options currently available for the kick-assterisk server. With help from the denizens of #asterisk and kind words of advice from Mr. Spencer and the rest of the gang ... we're proud to have
2009 Dec 22
2
getent passwd problem
Hi, I am having a weird issue with samba where once a week approximately at the same time users will lose connectivity, if i run wbinfo -u all users are displayed wbinfo -g all groups are displayed However running getent passwd only shows local-users, no remote users are shown.. To fix the issue I have to change the name of my idmap config and restart samba and winbind and everything works
2009 Jul 21
2
About Error handler
Hi I am new to ruby on rails I need to know one thing Is there any way to externalize all the error messages in one file and access -- Karthik.k Mobile - +91-9894991640
2003 Jun 11
3
Dialing out through a Hardware PBX
<DIV><FONT face=Arial size=2>hello All,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>our Asterisk pbx is sitting behind a normal analog hardware pbx, we have to dial 9</FONT></DIV> <DIV><FONT face=Arial size=2>to take an outside call through the hardware pbx, our
2003 Sep 01
2
Unified Messaging Support ?
Hello, One quick question. Does anyone has experience implementing unified messaging (UM) using Asterisk. Does Asterisk has support for UM ? Thanks, Tarun ___________________________________________________ Medicine meets Marketing; Dr. Swati Weds Jayaram. Rediff Matchmaker strikes another interesting match !! Visit http://matchmaker.rediff.com?2
2003 Nov 25
4
* Configuration
Hi, I am a beginner to Asterisk. Can anybody clear my following doubts regarding the configuration needed? 1) What is the ideal system configuratin required?(like processer, RAM, h/d space etc) 2) How many connections it can handle at a time? 3) How many Virtual PBXs it can handle? 4) Whether Postgres or Mysql is best suited? 5) How many IVR's it can handle simultaneously? 6) How many
2009 Mar 01
1
SPSS repeated interaction contrast in R
dear all, i'm trying to reproduce an spss-anova in R. It is an 2x3x3 repeated measures desingn with repeated contrasts. In R i've coded a contrast matrix for all factors and made a split in the aov summary - but I can't get the repeated interaction contrasts. The output from SPSS looks like this: TaskSw * CongNow * CongBefore: SS df Mean Square F Sig. 1 vs. 2 1 vs. 2 1 vs. 2
2003 Sep 07
2
Call Time out Problem-Very Urgent!
hi, I have a problem in call time out, An ISDN PRI E1 from PSTN and another ISDN PRI E1 from a Nortel PBX is conneted to my server. But when i do a Dialout(from both E1s)the calls do not timeout. For ex. Dial(Zap/g4/123456|20|t) suppose other side is ringing and is not answering. even after 20 seconds, call doesn't get timeout pls gv me a solutions.. its really urgent.. Surajee
2003 Dec 09
3
Multilanguage support
http://www.voip-info.org/tiki-index.php?page=Asterisk+multi-language By trial and error and a lot of ancient nordic magic (reading the source) I found out that Asterisk does not look for language-specific sound files with the -cc extension, cc being country code. Asterisk looks for files first in a "cc" subdirectory, like "se/vm-login.gsm", then in the default directory.
2008 Aug 26
2
options("contrasts")
Code: > options("contrasts") $contrasts factor ordered "contr.treatment" "contr.poly" I want to change the first entry ONLY, without retyping "contr.poly". How do I do it? I have tried various possibilities and cannot get anything to work. I found out that the response to options("contrasts") has class
2003 Oct 13
6
Asterisk Manager
Hello all, Can I execute linux command like(ls, mkdir) through the Manager interface? I can't seem to access the manual at digium.com. I keep getting 'Forbidden' error. Looks like they are upgrading or something. CF
2004 Apr 08
3
Fwd: Sasquatch, the Loch Ness Monster, UFOs and...
Every half year or so, I probably will repost this list, adding and subtracting as the community makes advances (or ignores what isn't required.) >Date: Thu, 9 Oct 2003 04:51:23 -0400 >To: asterisk-users-lists.digium.com >From: John Todd <jtodd@loligo.com> >Subject: Sasquatch, the Loch Ness Monster, UFOs and... > >Mythical Asterisk Creatures, oft-discussed, rarely
2007 Mar 31
1
add confidence intervales to xyplot for ANCOVA and extracting info
Hi, I would like to add confidence intervales to an ANCOVA with 2 covariates when using xyplot. What would be a good way of accomplishing this? --8<---------------cut here---------------start------------->8--- rm(list = ls(all = TRUE)) rm(list = c(ls())) library(lattice) ## 1. generate data random <- rnorm(200) y <- abs(random) x1.cont <- abs(random) x2.fac <-