similar to: Is there a way to do unbuffered render :update ?

Displaying 20 results from an estimated 10000 matches similar to: "Is there a way to do unbuffered render :update ?"

2006 Apr 14
11
Whats the best Ajax way to update a textarea''s text?
I am looking for a way to update the text-value within a textarea from an Ajax render call inside of a controller. Is there a way to do this without rendering an the partial containing the textarea? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
4
Layout Question w/ code from vendor library
I am new to Ruby on Rails in general and apologize if this question is trivial and/or has been asked before ( my searches did not turn up any threads ). I am using the cookies function from actionpack which I have located in my vendor/rails/actionpack directory. Using: cookies[:username] and cookies[:password] from within a controller file works just fine, I am able to set and read
2006 Apr 03
2
Looking for an example ...
... for overriding the default behavior of scaffold''s builtin create and update handlers. Any help would be grealy appreciated! -Andy -- Posted via http://www.ruby-forum.com/.
2006 Apr 10
3
form_remote_tag can only have one submit button?
I setup a form_remote_tag with several submit buttons, all of them share the same name ( ''do_action'' ) and their values differ. eg. button1 named do_action with value ACTION1 button2 named do_action with value ACTION2, etc No matter which button I press the value passed is always the one defined for the first of these buttons ( the correct value associated with the pressed
2006 Apr 28
9
Q: Timing of render :update in an action ?
Hey folks, am hoping someone can set me straight with a solution to an issue that has come up involving the timing of rendered page elements in relation to the completion of an action''s execution. I have an ror search app which searches through two tables consisting of 7,000 page urls and a table w/ 87,000 related keyphrases within those pages. Search results can take anywhere from 2
2006 Apr 10
3
form_remote_tag : additional onsubmit funct. possible ?
Is there a way to add onsubmit functionality to a form_remote_tag with an additional javascript directive? eg I''d like for an inline javascript to make the form''s div container hidden as soon as the button is pressed to avoid having it possibly get pressed again ( sometimes the rails response is slow enough for a user to think they need to re-press it ). example: <div
2006 Apr 03
1
Q: periodically_call_remote ( how to make it execute just once? )
I posted this ealier on the web forums but noticed a similar question about this function and one user responded to try this list instead. If anyone can help I would greatly appreciate your suggestions. Q: Is there a way to use periodically_call_remote to run just one time instead of every '':frequency'' seconds? I tried putting the call inside the div container thinking it
2006 Apr 24
9
Confusion with expressing many to many relationship
Hi folks, I am in the process of converting an existing non-rails application to rails, and am not sure what the best approach would be for specifying the relationship between the two sets of data. I''ll describe the existing table structures first. Table 1: Urls Each url has a unique id and two lists of Phrases, these are currently setup as varchars with "," delimitation -
2002 Sep 09
4
Hardware - no way -Re: Crashes maybe due to: "error writing 4 unbuffered bytes"
Dear JW, I spent hours checking and upgrading my hardware. There is nothing wrong with it. It is a 'mature' Pentium-II 400MHz system that has been running my servers WITHOUT ANY CRASHES for nearly 2 years now 24/7 Listen to me: "The crashes are dues to rsync" There is an IDENTICAL report from a totally different source at
2006 Apr 04
7
Not getting the whole RJS-based partial rendering concept ...
I have been trying all kinds of different ways to produce what I think should be a simple effect, but have not had any luck yet and apparently I am not following the general idea... What I am trying to accomplish is the following (part 1 works and part 2 does not): 1. One of my views has a link_to_remote which updates a div container with a table of data my example is <div
2006 Apr 10
2
Any way to implement delay() with ruby code?
That is, is there any way to do something like an RJS page.delay() except with ruby code statements in the body instead of RJS statements? If not, what kind of options would I have for wanting to execute a set of statements n seconds in the future? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2008 Sep 18
2
Unbuffered stdout?
Hello, I'm running a DOS mode text program under Wine via a Mac OSX Objective-C/Cocoa program. I use NSTask to run Wine and capture stdin, stdout and stderr via NSPipes. I'm having an issue where output from the DOS mode text program doesn't get to the Objective-C/Cocoa program until after the program ends in Wine. I think this is happening because stdout is buffered. Is there a
2006 Dec 16
0
unbuffered output?
How do I do unbuffered output from a rails app? I suspect the question really is "how do I do unbuffered output from ruby" but since it''s for a rails app here I am:-) Also if I understand correctly apache >= 1.3 no longer buffers output?... any thoughts on that also appreciated. Thanks in advance! Tim --~--~---------~--~----~------------~-------~--~----~ You received
2004 Mar 09
0
FW: error writing 4 unbuffered bytes - exiting: Broken pipe
I have a filesystem from a different machine nfs mounted on the machine that is running rsync. rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums I am trying to create a backup
2002 Jun 18
0
error writing 4 unbuffered bytes - exiting
I am running a fairly new box, Athlon 1.4Ghz, 512 Mb RAM, RedHat 7.3, rsync rsync version 2.5.4 protocol version 26, it's disk layout is; bash-2.05a# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda6 372M 338M 15M 96% / /dev/sda1 45M 8.9M 34M 21% /boot /dev/sda5 703M 218M 449M 33% /home none 251M 0
2004 Mar 09
1
error writing 4 unbuffered bytes - exiting: Broken pipe
I have a filesystem from a different machine nfs mounted on the machine that is running rsync. rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums I am trying to create a backup
2009 Mar 04
1
performance problem with 3.2.8: unbuffered reads for some users
Hi! I'm experiencing strange performance problems after upgrading to samba 3.2.8 from 3.0.30. For all users except smbadmin (who has administrative rights), read performance is _very_ bad. Looking at the read-requests using filemon and wireshark, I found out that for those users, every read is handled transparently (unbuffered) over the net. (I.e. a 2 byte read-request of the application
2006 Mar 14
0
Unbuffered Output?
Is it possible to send unbuffered output to client browser from a controller and/or view? If so, how? Thanks!!
2002 Jul 18
0
rsync: error writing NNNN unbuffered bytes - exiting:Connection reset by peer -> NIC driver problem!
I was seeing rsync errors which caused my system installations to fail repeatedly and absolutely. See the error I reported to this mailing list back in June in the Forwarded Message below. When I replaced my NIC cards (realtec chip, 8139too driver) with Linksys cards (and Dec Tulip driver for linux) the problem ceased, rsync worked like it should, and does so repeatedly. My suggestion would be
2002 Sep 08
2
Crashes maybe due to: "error writing 4 unbuffered bytes"
I have been trying to implement Mike's tutorial on backup with rsync, but my server has kept crashing in the middle of the rsync transfer. I am backing up /dev/hda1 to /dev/hdc1 on a SuSe v 7.3 i386 box Server crashed 8 times. 16 fsck and 8 reboots later I finally got an error message and a graceful exit from rsync. Somewhere in the middle of the crashes I compiled and installed the