similar to: how to get your controller to close a browser popup window

Displaying 20 results from an estimated 300 matches similar to: "how to get your controller to close a browser popup window"

2003 Feb 04
1
pulling tree : semantics problem
Hi, I'm trying to pull my home from a remote machine. I get a error 'failed to set permissions on home : Not owner' which is obvious: rsync -a remote:/home/foo/bar/zee / this create /home/foo/bar/zee here , but give above error I don't own /,/home but i own /home/foo/bar and lower. If i tell rsync to: rsync -a remote:/home/foo/bar/zee /home/foo/bar it creates
2007 Jun 10
1
Setup problems, /dev/net/tun FD in bad state
Hi all, I'm following the manual but I get the below error, and I believe tinc is clobbering my conf file. I've never set up VPN before, I'm just trying to connect to my work network from home. All the following is on my work computer. Thanks in advance for any help. $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:1A:A0:17:3A:50 inet addr:172.24.104.145
2007 Jul 31
2
link_to
Im trying to use the link_to helper to open a blank window which is basically just a framed window to display user info without all the extra distractions that come along with opening this window. Here is what I got: <%= link_to ''Airline Preferences'', {:action => ''airline_preferences'', :id => @user.id, :method => ''post'' }, :target
2006 Jul 26
3
svn command doesn''t work when trying to install plugins
Trying to install BackgroundRdb $ script/plugin install svn://rubyforge.org//var/svn/backgroundrb sh: line 1: svn: command not found What am I doing wrong? I''m using a MacBook pro with OSX10.4 and what I think is a standard version of Ruby 1.8.4 and Rails 1.1 ---John -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
4
Problem installing plugins
I''m trying to install a plugin using the supplied command... $ script/plugin install svn://rubyforge.org//var/svn/backgroundrb I get an error sh: line 1: svn: command not found What am I doing wrong? What is svn, and why is it not found?? It seems to work for everyone else.... Have I missed something in my Ruby install? -- Posted via http://www.ruby-forum.com/.
2009 Nov 11
1
lm and levels
Consider the following example: x <- c(2,4,3,6) y <- c(4,9,5,10) z <- factor(c(1,1,2,2)) summary(lm("y ~ x + z")) The above works fine. Suppose I change z so that x <- c(2,4,3,6) y <- c(4,9,5,10) z <- factor(c(1,1,2,NA)) summary(lm("y ~ x + z")) the last row/observation is not considered in the regression. I would like this to be treated as z with two
2006 Aug 10
2
Is it possible for a controller to throw up a message box?
I need my controller to give some feedback to the user by popping up a message box. Does anyone have any ideas how this can be done? Thanks --John -- Posted via http://www.ruby-forum.com/.
2005 May 16
2
Broadvoice Toll-Free IVR issues
Perhaps someone else has had this issue. I currently have BroadVoice as my SIP provider with two phone numbers. The first number is my primary local number; the second is an 877 toll-free number. The issue is with the IVR abilities. When calling the primary number you can press 200 at the main menu and receive my extension. When calling the 877 number, 200 will result in ?that option is invalid?
2006 May 24
5
best way to return JSON?
I''m using Ajax.Updater to update a select element, and have just discovered that IE doesn''t like having its innerHTML set. I figure instead of a bunch of option tags I can return JSON and parse it to add the options, but I''m not quite sure of the best way to do this.... or any way to do it really :) Could someone point this out to me? Or am I using a totally antiquated
2011 Nov 24
3
Is there way to add a new row to a data frame in a specific location
Is there easy way (without copying the existing rows to a temporary location and copying back) to add a new row to a specific index location in an existing data frame? Example df = data.frame( A= c('a','b','c'), B=c(1,2,3), C=(10,20,30)) newrow = c('X', 100, 200) I want to add the newrow as the second row to the data frame df Please suggest a solution that is
2009 Jul 05
2
JSON data not decoded in Rails
Hello all, I''m trying to send some json data from the browser to the server using prototype without success. On the server side ActiveSupport::JSON.decode isn''t decoding the data. Here is the code: Javacript: <a href="#" onclick=''send();return false;''>click</a> <script> function send() { var send_data_url =
2007 Jan 09
2
help a journalist: What do you wish the CIO understood about fighting spam?
Hi, folks. I'm senior online editor at CIO.com, and I'm working on an article for which I'd very much like your help. There's often a lack of communication between techies and top company management. Maybe they don't want to hear about problems; perhaps you give them technical details that are far more granular than they want to know. But dealing with spam is a topic
2011 Nov 12
1
With an example - Re: rbind.data.frame drops attributes for factor variables
When I use rbind() or rbind.data.frame() to add a row to an existing dataframe, it appears that attributes for the column of type "factor" are dropped. See the sample example below to reproduce the problem. Please suggest How I can fix this. Thanks, Sammy a=c("Male", "Male", "Female", "Male") b=c(1,2,3,4) c=c("great", "bad",
2008 Dec 22
1
Web-driven SIP call thru Asterisk IPBX
Hi, I think that the web-driven SIP Phone (free) doddle (beta version) can be useful with your Asterisk applications. You can pre-fill it with your sip settings (Asterisk host name or IP /?realm / sip user), you just need to setup the HTML link as that: (Attached is the HTML page example) ? /**************************/ simple HTML code example: /*************************/ <html> <head>
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
2008 Sep 03
1
statistical advice
Hello, I am a researcher in sleep and circadian rhythms who is having much trouble deciding on proper statistical analyses. Before I state my question, I provide a brief synopsis of the looming problem; I am interested in activity bout distributions across a 24 hr day. In addition to looking at the number of activity bouts across the day, I am also interested in the duration of each activity
2005 Feb 25
4
T.38 fax summary
Steve Underwood, Would you mind summarizing where/how T.38 functions, and maybe how it compares to the analog fax environment for the asterisk-users arhives? Seems to be some misunderstanding, and a lot of interest in handling faxes in various forms via asterisk. If some these approaches were summarized in one posting, a lot of us could reference it to remind us of limitations, current state,
2006 Aug 11
3
London: Ruby on Rails programmer needed
Hi, I am not sure if this is off topic, apologies if it is. I am working for a startup in London and am looking for one or two rails programmers. I estimate that there will be about 6 weeks worth of work plus some ongoing consultancy. If any one is interested please get in touch. rgds, - matt. -- Posted via http://www.ruby-forum.com/.
2006 Aug 12
1
Hosting your own forums alongside your application
I''ve got my site running on port 80 at www.mysite.com (dedicated Debian box running Mongrel) I''ve got my forums running on port 3000 at www.mysite.com (same box, running Lighttpt). Any ideas how I can change the forums to run on port 80 at something like forums.mysite.com ? --John -- Posted via http://www.ruby-forum.com/.
2006 Jul 29
1
Debian - plugins being installed to the wrong place?
Hi, I''ve been moving my app from my development environment (my laptop running OSX) to my test environment (a dedicated Debian box in a datacentre somewhere). All seems to be OK except ruby Plugins don''t seem to work. When I go to a page which uses a plugin I get errors... e.g. uninitialized constant Paypal Same happens with other plugins I''m using e.g. FasterCSV