Displaying 20 results from an estimated 100000 matches similar to: "after_validation_on_update double invokes"
2006 May 17
6
ActiveRecord#to_param
Hello,
to implement some some kind of optimistic locking, I want to build a
view, where an object is displayed together with a link containing the
data of the displayed object. My first try looked something like
<%= object.object_discription %>
<%= link_to "action", :action => "take_action", :data => object %>
this won''t work because object is of
2006 May 27
2
ActiveRecord::Base::find_for_create_modify
Hi,
for some models I found that it''s easier to share the controller new and
update code just to share the view code. At the front of every such
action function I have to lookup if the object already exists, if so
"find" it from the database and update the "attributes=". If there is no
such object, "new" it with the attributes I''ve got from the
2006 Jul 23
0
Double codebook
> Kind of interesingly to me, with that plain command-line-call mentioned
> above, double_codebook is turned on.
> Since I haven't found anything in the manpages: how can I turn this off?
> Would you consider turning this off useful?
double_codebook isn't a feature. It's just an internal parameter that
describes how the encoding is done at different bit-rate. In practice,
2004 Apr 29
0
Re: problems accessing samba server from Pocket PC with Windows Mobil e
Hi there,
I am experiencing exactly the same problems like described below.
I do not have a solution right now, but I found a work-around that may
help you.
As soon as I change the security parameter in the smb.conf file
from security=user to security=share, mounting shares to Pocket
PC seems to work. (HP iPAQ 4150 running Windows Mobile 2003)
I am running SAMBA V 3.0.2.a and 2.6.4.2-52 kernel
2006 Oct 24
2
double invoke of hvm_do_resume
Keir:
Not sure from when, at least now hvm_do_resume is double invoked
in both 1: arch_vmx_do_resume from schedule_tail, and 2)
vmx_asm_do_vmentry of ASM code for both x86 32 & 64 bits. I am wondering
if the #1 is a redundant, can u have a double check?
thx,eddie
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2006 Jul 04
1
How to override ActiveRecord#base#destroy
Hello,
I have a database table with a primary key not being a simple id but
three columns. By overriding update() and create() I got Rails to work
with that table quit good. Except for the destroy() action. From the
resulting trace I can see that the old version of destroy() is called
from transaction.rb. I think this lines might be the reason that I''m
unable to override detroy():
2002 Jul 09
1
RE: mvtnorm package installation failure
Hi,
Thank you for the tip.
I tried to re-intall R from Debian "stable", in which R's version is 1.4.0. And the installation
of "mvtnorm" works.
I then re-installed R yet again from Debian "unstable" (woody), in which R's version is 1.5.1.
The installation of "mvtnorm" fails again with the same error message. Another package that
failed with the
2008 Feb 03
1
ActiveRecord object.valid? triggers unexepected results
I''m editing an ActiveRecord object in a session through AJAX, updating
it with object.attributes = params[:object], and validating it with
object.valid?
Because it''s associated with other objects in a form, I want to save
them all together.
The surprise was that object.valid? triggers after_validation_on_update.
I''m having an audit log and I was getting bogus entries.
2004 May 08
2
as.double.default()
Hi there!
This is my second message in two weeks. I am regretting to get ride of my
R-1.4.1! In fact, since I upgraded to R-1.8.1 (directly from R-1.4.1) and
then to R-1.9.0 I am experiencing diffulties I never faced before. Professor
Ripley and Dr. Murdoch had helped with the "Fatal Error. HOMEDRIVE." Another
problem I am now facing is that R is not reading any matrix if I do not
2006 Jun 27
3
Weird ActiveRecord Foreign Key Problem
Hello to all,
I ran into a weird problem with an ActivRecord. I have a table named
"build_order" with a column named "type" that is a foreign key to a
table called "building_type". In a controller I try to read all the
build_orders with "BuildOrder.find :all" and get the following error and
stack trace:
(eval):1:in `instance_eval'': compile
2006 May 08
6
how to make field in model immutable after create
Hello everyone!
I want to have login field in User model which is set only once (on
create), and then it should fail validation if the value is changed.
How can I do this? I dig around for validation and tried
def after_validation_on_update
unless User.find_by_login(:login)
errors.add(:login, "is immutable. You can''t change it")
end
end
in model, but somewhat it
2003 Dec 13
0
chisq.test() and r2dtable() freezing on certain inputs (PR#5701)
>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch>
>>>>> on Thu, 11 Dec 2003 18:29:05 +0100 (CET) writes:
>>>>> "Torsten" == Torsten Hothorn <torsten@hothorn.de>
>>>>> on Thu, 11 Dec 2003 18:03:07 +0100 (CET) writes:
Torsten> On Thu, 11 Dec 2003, Jeffrey Chang wrote:
2011 Mar 12
2
two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required
1)
deleting path/to/(Something) Word Word Anotherword--Word Word.pdf
IO error encountered -- skipping file deletion
I think either the -- is causing it to fail, or more likely, the next
filename, which it didn't bother to print out, which has an ampersand
in the name, causes it to fail.
I am using SSH as a substrate, of course, and I think you guys failed
to escape things, so the ampersand
2013 Nov 29
0
[Bug 58378] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version
https://bugs.freedesktop.org/show_bug.cgi?id=58378
--- Comment #14 from torsten.stocklossa at gmail.com ---
HI again, in addition some error messages
Nov 29 11:21:47 torsten-LIFEBOOK-E8410 kernel: [ 66.215782] nouveau E[
PGRAPH][0000:01:00.0] ch 2 [0x0007b23000] subc 7 class 0x8297 mthd 0x15e0 data
0x00000000
Nov 29 11:21:47 torsten-LIFEBOOK-E8410 kernel: [ 66.304180] nouveau E[
2016 Feb 15
0
APC Back-UPS BX1400U
Sorry, I forgot this:
torsten at raspberrypi:/ $ sudo /lib/nut/usbhid-ups -a UPS -x vendorid=051d -DD
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
0.000000 debug level is '2'
0.004718 upsdrv_initups...
0.007534 Checking device (051D/0002) (001/004)
0.008910 - VendorID: 051d
0.010030 - ProductID: 0002
0.011196
2016 Feb 15
2
APC Back-UPS BX1400U
Dear list,
since some days I own an APC Back-UPS BX1400U.
Now I try to connect my Raspberry Pi to it using NUT, but ... ;)
The UPS is connected via an USB-cable, and "lsusb" shows an APC device.
NUT is installed via "sudo apt-get install nut".
My goal: a Synology DiskStation DS1515+ should "read" UPS-data provided
from the Raspberry an shut-down itselt at 30%
2005 Jan 25
4
typo in ?NotYetImplemented
The `examples' section says
plot.mlm # to see how the "NotYetImplemented"
# reference is made automagically
^
Best,
Torsten
2011 Oct 29
0
Redundancy canonical analysis plot problem in 3D using VEGAN
Hi Guys,
First, English is not my native language so sorry if the question is
too difficult to understand. I can rephrase it if necessary.
I have 32-bit Windows Xp SP3, i use R version 2.12.0 (2010-10-15),
and
the question is about Redundancy canonical analysis? plot problem in
3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC.
I noticed the following? code to explain as clearly as possible the
2002 Jul 09
0
RE: mvtnorm package installation failure
Hi Dirk,
It was actually Debian "testing" that has R 1.4.0. Debian "stable" has R 0.9 or something really old
like that.
Anyways, I did what A.J. Rossini suggested:
# apt-get install libreadline4-dev
Then I installed R-1.5.1 from Debian "unstable". The installation of "mvtnorm" has no trouble after this.
I think that you are probably right: the
2005 Mar 05
2
[Bug 993] adding and removing forwardings via the control connection
http://bugzilla.mindrot.org/show_bug.cgi?id=993
Summary: adding and removing forwardings via the control
connection
Product: Portable OpenSSH
Version: 4.0p1
Platform: All
OS/Version: Linux
Status: NEW
Keywords: patch
Severity: normal
Priority: P2
Component: ssh