similar to: validate_on_update with a save()

Displaying 20 results from an estimated 1000 matches similar to: "validate_on_update with a save()"

2004 Oct 28
3
new crash in dovecot-auth test51
#0 io_remove (io=0x0) at ioloop.c:51 51 if ((io->condition & IO_NOTIFY_MASK) != 0) { (gdb) bt #0 io_remove (io=0x0) at ioloop.c:51 #1 0x0804fd68 in auth_client_connection_destroy_wait (conn=0x80877d8) at auth-client-connection.c:494 #2 0x08050acd in auth_callback (request=0x84716b8, result=134681554, reply=0x0, reply_size=0) at auth-client-connection.c:104 #3 0x08050950 in
2007 Jun 08
1
Acessing new field values in validate_on_update
Hello, How to access to old field values in validate_on_update method? I need to see if there is changed field''s value and if it is so, rise an error. Thank you! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2020 May 21
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
No, it's not. I'd defer to the list for tips on that one. First thing I'd try if no one else has ideas is checking lsusb and restarting the service. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 7:00 PM To: David Zomaya Cc: nut-upsuser
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Glad to hear it's working, thanks Tom. Network UPS Tools team: is fixing this as simple as me telling you what new UPS protocols are HID-PDC compliant? Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 2:42 PM To: David Zomaya Cc: nut-upsuser Subject: Re:
2020 May 20
4
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
"Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted" Is probably an issue with NUT grabbing the UPS... can you disconnect and reconnect the USB cable and try again? If that fails, maybe a udev rule will help. Thank you, David Zomaya Tripp Lite <http://www.tripplite.com/> ________________________________ From:
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
My thoughts for a test: * Just have MODE=standalone in nut.conf * Put [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" In ups.conf * Put LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto in upsd.conf That may be suboptimal but will probably work for a test. Side
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Tested a Ubuntu 18.04 LTS virtual machine with NUT 2.7.4 and a 3024 protocol Tripp Lite UPS (mine is a INTERNET550U, but same protocol) :/etc/nut$ lsusb | grep Tripp Bus 002 Device 004: ID 09ae:3024 Tripp Lite I it got generally working (outputting reasonable responses to upsc, although there are some issues with variables like frequency) by adding productid=3024 to my ups.conf. Like this:
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Wow - you're doing all the work for me! Thanks for the rule set.  I can't easily reboot that box just now, so I'm working on reloading the rules. When I try  udevadm control --reload-rules && udevadm trigger May 20 15:19:01 elmer systemd-udevd[3413]: Process '/sbin/crda' failed with exit code 234. May 20 15:19:01 elmer systemd-udevd[3413]: Using default
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Borrowing from our friends at Ask Ubuntu ( https://askubuntu.com/a/276637 ) there is. I've modified it for use with a Tripp Lite UPS and 3024 protocol below. Try disconnect/reconnect after and see what happens. :/etc/nut$ cat /etc/udev/rules.d/90-nut-ups.rules # /etc/udev/rules.d/90-nut-ups.rules ACTION=="add", \ SUBSYSTEM=="usb", \ ATTR{idVendor}=="09ae",
2006 Apr 14
1
Validating Existing Models
I''ve got a user object which has quite a few attributes mapped to the database. As of right now I''ve got some validations in the model like: validates_presence_of :password, :message => "You must specify a valid password." validates_confirmation_of :password, :message => "Password doesn''t match the confirmation." validates_presence_of
2003 Dec 17
3
Dotfiles not being deleted?
Hello.. I'm attempting to copy/sync a development directory on my laptop to our web server, and for some reason dot-files are being copied but not deleted. Command line: rsync -rvva --delete-after -e ssh ./ server.com:/var/www/html/project/ The symptom is that I've got files like '.Makefile.swp' and '.hidden.php.swp' on the server (vi temp files) even after deleting them
2005 Jul 14
2
Upgrading from RH AS-3 to ??
Hi! I'm trying to upgrade my Redhat 3AS server, but I'm encountering problems. The first problem was, I didn't know what repository to use. I settled on http://mirror.centos.org/, but using it is strange, as not all mirror servers have all of the directories, and so sometimes links appear broken, but the problem goes away if I hit reload. A number of them have empty directories,
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in offline mode? I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed that after generating a new app through the command "rails new app_name", "bundle install" is then called to download the gems specified in the Gemfile. What if I don''t have an
2008 Nov 18
1
How to Barge specific extensions
Hi All Can anybody help me for dial plan to barge or Spy(ExtenSpy) specificor selective extemsions among 20 extension in my office. lets say my office extension range is 301-320 & i want to barge only 3 extension say 320, 302,314. is this possible to barge specific extension? . Plz help me for this.I am using Asterisk 1.4.9 & SIP channels. Regards Amit -------------- next
2007 Mar 20
3
compiling dovecot on aix gcc 3.3.2
I try to compile the dovecot with gcc version 3.3.2 on aix. It seemed it was okay. It was working but when i try to use quota dynamic modules i get error. Edlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: Could not load module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so. System error: No such file or directory Error: imap dump-capability process returned 89 When i check
2013 Nov 19
2
Communicate with barge agent
HI folks, I have set a barging facility with our production box.Client able to barge a agent but client raise a requirement, they want talk to barge agent but that communication is not listen by customer. It is possible with asterisk or not. thanks in advance. Regards Akhilesh -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jan 07
1
deliver rewrites envelop-sender
Hello, we are currently using sendmail, procmail, uwimap and qpopper. We are planing to replace uwimap and qpopper with dovecot. Which seems to be a very good idea :-) But: Sendmail and Procmail will not be replaced. Now I've realized that deliver rewrites existing "From <....> ..." header lines to ">From <...> ..." and adds it's own "From
2009 Sep 29
3
chanspy and DISA
Hello all, OS OpenSuSE 10.3 * ver 1.4.26.2 zaptel ver. 1.12 Digium TE122 I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a
2009 Oct 19
23
testing needed
Can someone find an OS where the attached program doesn't work? It should print "success". So far tested for success: Linux 2.6, Solaris 10, FreeBSD 7.2, OpenBSD 4.2. -------------- next part -------------- A non-text attachment was scrubbed... Name: test.c Type: text/x-csrc Size: 1100 bytes Desc: not available URL:
2008 Jul 08
2
Multiple quota roots with quota-fs backend
Today I've tried to configure multiple filesystem quotas, with some strange results. These are my two filesystems; both using quotas: * /dev/mail mounted to /var/spool/mail using AIX quotas for all users. Mailbox format is 'mbox' and they are named '/var/spool/mail/<logname>' * filer0:/vol/home mounted to /home/f0 via nfs using netapp quotas for all