Displaying 20 results from an estimated 30 matches for "do_act".
Did you mean:
do_acct
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 button...
2007 Feb 05
1
long jumping out of code in specs
...te hook on an ActiveRecord model, that calls a bunch of
private methods. Instead of stubbing all those private methods (which
is verboten anyway, as well as impossible because creating the object
which owns those methods is what I''m specing, so I don''t have the
object until I call do_action.)
I''m stubbing a public method that would only get called if
control-flow worked out like it should (the proverbial canary in the
coal mine), and telling it to raise an exception which I catch in my
spec. This way I don''t have to bother with either stubbing all the
private met...
2006 Apr 06
2
deleting partition does not effect superblock?
Hi,
I am using kernel 2.6.15.4.
On my system, I first created a partition with EXT3 and put some data
on it. Later, I deleted the partition, and re-created another
partition with the same starting block number and a higher ending
block number. I intended to format it with another filesystem, but
surprisingly (or maybe just to me), the superblock of the partition
had not changed. I could still
2006 May 07
3
Rsync backups over the internet
All
I am use rsync to backup a large filesystem over the internet. I do an
incremental backup of the 2 file systems once a day to keep an offsite
backup. However, this backup takes about 60 minutes. Are there some tweaks
I can do to speed up the backup? Here is the command I run via cron every
day:
rsync --exclude-from=/home/backups/rsync/attachments-exclude.lst --delete
-ave ssh
2007 Dec 13
8
stub with assigns?
is there a way to stub a method that sets an instance variable, so
the stub sets it too?
def find_foo
@foo = Foo.find(params[:id]
end
...
controller.stub!(:find_foo).and_assigns(:foo, "123")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071213/2042719f/attachment.html
2004 Jun 17
5
Problem in using rsync
Hi
I use rsync to perform backup on disk on a SunFire 880 with Solaris 8. For
performance issues, we launch simultaneously 5 rsyncs on 5 different fliesystems
and about 150-200 "cp -p" commands on as many database files. We have been
using the same scripts for about 2 months, without problems. The backup is
performed on the same server (from filesystem to filesystem on the same
2006 Apr 13
0
Custom validation of form fields?
I have been looking at the many validates_* methods that we have
available and I am wondering is it possible to create a custom
validation method to be performed on a form field?
I have the following form (remote via ajax)
<%= form_remote_tag :url => {
:action => ''do_action'',
:id => @pid },
:before => ''Element.hide("action_div");'' %>
<%= text_field_tag "damt", "0", :size => ''5'' %>
<input type="submit" name="paction" value="Enter Dat...
2004 Jan 02
1
rsync not working with ZoneAlarm Pro
Hi.
When I try to use rsync 2.5.7 from a Windows 2000 machine with CygWin and
ZoneAlarm Pro 4.5.538, I get this error:
Read from remote host myweb.com: Connection reset by peer
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packaging/tmp/rsync-2.5.7/io.c(177)
And this is the command that I am executing:
rsync -vaz
2004 Jan 09
2
start a batch after rsync
Hello,
I would like to replicate one file from one machine to a second one with
rsync. After the file is copied ( rsync in read mode ), if the file
has changed i must start a small batch, if it has not change I must do
nothing.
What's the easiest way to do this ?
Thanks you
Andreas
2004 Mar 26
1
How to getting clean list of transferred files
Hello,
i am using currently rsync-2.6.0 with option --log-format=%f to produce
a list of the transferred files. This list is then used to generate
hard-links for backup-purposes.
Now rsync sometimes generates messages like "file has vanished: ..." on
STDOUT (_not_ STDERR) which breaks this processing.
When using option -q there is no output at all.
Is there any way to get a
2004 Aug 20
2
Anyone syncing database files?
Anyone syncing say 18-20gb Oracle dbf files..?
Jeremy S. Loukinas
-------------- next part --------------
HTML attachment scrubbed and removed
2004 May 25
2
protocol version mismatch
Hi,
I am pretty new to rsync so this question might have a very trivial
answer. Sorry for that then. (using google didn't work though)
I want to synchronise the files from my laptop to my machine at work and
back from time to time. Both machines have linux (the laptop has fedora
core 2 with a 2.6.6 kernel and the remote machine redhat 9 with a
2.6.3 kernel)
On the laptop I use rsync
2006 Mar 13
2
rsync a raw device
Hi all -
is there some magic flag i'm missing that will allow me to rsync
a raw device? Not the dev entry, but the device itself?
I have a filesystem (backuppc data store) that does not respond well
to directory traversal due to an extremely high number of hard links
(which generate lots of disk seeks), and probably would not work well with
rsync anyway due to a large number of actual
2005 Jul 28
2
Filename enocings
Hello everyone,
I have run into the same issue which the fname-convert patch solves:
http://rsync.samba.org/ftp/unpacked/rsync/patches/fname-convert.diff
i.e. rsyncing between and latin 1 and utf-8 locales.
First I'd really like to thank Eran Tromer for providing the patch as
this fixes my immediate issue! I've attached an updated version which
applies to the rsync-2.6.5 release and
2004 May 06
2
coder wanted
Hi
I am using Rsync locally on some machines, however, there are a few machines that require me to backup over FTP, the current system
I have in place is very very slow, and I would like to hire someone on this list familiar with backups ($50 sound fine?) and having
it run of cron
To create me a backup script that works on Rsync to backup specific files/folders on server1 and ssh or ftp to
2006 Mar 30
5
packet marking: only a ratio, not all
Hi all!
In short:
Anybody wrote a patch for DSMARK to make it capable of marking
only a ratio (a given arg to the tc command) of the packets it gets?
Say, 20%? Or, do I have to hack into the source? Alternatives,
like a filter spitting packets to 2 different DSMARK based on this ratio?
In long:
I''m a hungarian univ student involved in a project (RMD-QoS stuff)
which needs
2004 Dec 04
2
RSync with /really/ long file lists
Hi everyone!
rsync 2.5.7
linux RHES v3
We need to sync over 4 Million files, and when we run rsync we run out of
memory! :(
We were going to batch things, but the build in Batch mode still will use a
large amount of memory. Any manualy batching is proving to be harder than
you'd think, even with --include and --exclude flags. The flags actually make
it still have to recurse the whole
2003 Jul 23
3
Does block level replication require local disk access (Block lev el) or can it work with a network share too
Could i run rsync on a linux server which is connected to a network share
(NAS) and replicate the diffs of the files residing on the network share? or
does this functionality require block level access i.e Local disk or SAN?
Many thanks,
Antony.
*********************************************************************
This e-mail and any attachment is confidential. It may only be read, copied and
2004 Jun 25
4
A question about connection refused
I install rsync in computer and run it as a daemon successfully, but when I
run rsync command on another end to connect it. There is a error.
The output is :
opening tcp connection to 192.168.0.43 port 873
rsync: failed to connect to 192.168.0.43: Connection refused
_exit_cleanup(code=10, file=clientserver.c, line=93): entered
rsync error: error in
2005 Dec 02
4
ftp:// error
Hello,
from a server where neither a rsync daemon nor ssh is running I'm trying
to backup the whole data with ftp. So my idea was to call rsync like this:
rsync -v -a 'ftp://1.2.3.4/' my_folder
But this gives me:
ftp: unknown host
ftp: unknown host
ftp: Unknown host
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code