similar to: startup/shutdown hook for a rails application ?

Displaying 20 results from an estimated 20000 matches similar to: "startup/shutdown hook for a rails application ?"

2003 Jan 08
1
Bug#175509: dovecot: init.d script should add some syslog statements on startup/shutdown (fwd)
[Amelia and Timo. As you are both on the dovecot list, I'm replying there to avoid cluttering up your inboxes.] This bug was reported to Debian but I feel it should be fixed upstream. Adding logging in th init script itself would require adding additional dependencies to the package and not be as convenient. ---------- Forwarded message ---------- From: Amelia A Lewis <amyzing at
2008 Jan 07
2
acts_as_state_machine override :initial state
Hello, I''m not sure if this is where to post this, but i cannot find much information/support for acts_as_state_machine. I have a Friendship model which implements acts_as_state_machine. I have an :initial state of :pending, but i would like to create a Friendship model and save it directly with :accepted status. I have tried Friendship.create(:state => "accepted") and
2006 Jul 03
0
Web application developers needed for brand new Startup...
Hello everyone, I am a senior at California Polytechnic State University, San Luis Obispo. I have been perfecting an idea for a brand new web service and am looking for a few exceptional programmers to possibly join the "core." This is very much a Web 2.0 effort, we will be leveraging user generated content (very much like YouTube, but not videos). However, it should be looked at as
2008 Nov 20
3
Any progress on undirected self-referential many to many relationships?
I am going to re-ask a question that has been asked a few times in the past. What is the best way to represent an undirected self-referential many to many relationship. Trivial examples of this include an edge in an undirected graph, or a mutual friendship. Alice is a person Bob is a person Alice and Bob are friends of each other We have a whole bunch of extra information about their friendship
2006 Mar 25
0
Self-Referential Many-To-Many relationships where the relationship itself has data.
Trying to model a bunch of users that have friends that are other users. clearly a job for has_and_belongs_to_many, but the trick is, they have ratings for their friends. I have gone through the Rails Recipes book, and it seems like I''m trying to combine the self-referential many-to-many recipe (12) and the many to many relationships where the relationship itself has data recipe (16). So
2009 Feb 02
2
ActiveRecord::AssociationTypeMismatch (User(#54754560) expected, got User(#54510280))
i keep getting this AssociationTypeMismatch error. i think this could be a bug related to ruby/rails when using mixins. heres a short version of my code: # user.rb require ''friend_invitation'' require ''friendship'' class User < ActiveRecord::Base include FriendInvitationUser, FriendshipUser ... end # friendship.rb ... module FriendshipUser def
2005 Nov 11
2
Powerware 9125 - bcmxcp - shutdown problem
Hi, just through setting up nut-2.0.2 I ran into a shutdown problem. As I have already spend some time on it and don't know any further, I like to ask for advice. Situation: Powerware 9125 serially connected using /dev/cua0 nut compiled and installed fine system shall - broadcast a message and shut down if ups on battery for 30+ s - wait 120 s - broadcast another message - give system 120
2008 Mar 27
0
Need help in Friendship plugin
I have used salted hash login generator for login system. Now what I want to do is use Friendship plugin. I have searched for Friendship plugin tutorial but tutorial use restful authentication login controller.I am trying to develop demo social networking project. Plz help me guys how do I integrate Friendship plugin with salted hash login generator what I am using.
2002 Nov 24
1
W2k Clients using modified 'Shell Folders'/'User Shell Folders'...
Hello samba people, is there anybody who got users logins with modified Shell Folders or User Shell Folders registry keys working with W2k-Clients ? After trying to get this to work for about a week, I'm really stuck.... :( Bye, Axel -- ,gis siht no noitpyrcne eht gnikaerb yB .liaj ot oG .ACMD eht detaloiv evah uoy
2002 Aug 07
2
Please Help -- Raid shutdown problem
We are running redhat 7.2 with 2.4 kernel. There is a 2 disk RAID 1 array which had a disk fail. The disk that failed had GRUB on it which in turn made the system unbootable. Our recovery method in a time of panic was to reinstall on a new disk saving certain partitions and reconstructing the array afterwards. During the reinstall we made a boot disk. Now we have 2 problems. 1.) The system will
2006 Mar 31
6
Adding objects to a :through association
So I''m one of those nasty people building a self-referential habtm-like Association using the funky new :through stuff. This is about users having friends, so here''s my user.rb: class User < ActiveRecord::Base has_many :friendships, :foreign_key => ''user_id'' has_many :friends, :through => :friendships, :source => :friend end And here''s
2013 Jul 15
1
libvirt hooks for startup and shutdown
Hello list, could anyone tell me where are the hooks for libvirt/qemu/kvm? Read there: http://www.libvirt.org/hooks.html I need the hooks for startup and stop at the Centos architecture. My version of libvirt: 0.9.10 -- thanks + bye ajh
2014 Jul 05
1
Predictions from "coxph" or "cph" objects
Dear R users, My apologies for the simple question, as I'm starting to learn the concepts behind the Cox PH model. I was just experimenting with the survival and rms packages for this. I'm simply trying to obtain the expected survival time (as opposed to the probability of survival at a given time t). I can't seem to find an option from the "type" argument in the predict
1999 Apr 30
0
SAMBA digest 2073
Why is www.secnet.com down ? i'm looking for the samba-audit-tool and didn't find any mirror. Thomas On Fri, 30 Apr 1999 samba@samba.org wrote: > SAMBA Digest 2073 > > For information on unsubscribing see http://samba.org/listproc/ > Topics covered in this issue include: > > 1) Group-Shares > by Johannes Scherbaum <scherj@funkhaus.de> >
2004 Jan 12
1
Performance problem
Hi, I am running rsync version 2.5.7 (stock distro on redhat linux, ES and 9) to rsync a directory with ~300k files in it from a machine on a 10Mbit internet tap to a machine with a 100Mbit internet tap. The problem is that I am only getting about 500Kbps during the transfer. I have tested link speed by scping a file between the two systems, performance was approximately 7.5Mbit/sec. Ping time
2001 Nov 13
0
ALC Learn English- 156-0000 Joyful NIGHT! Cheerful DAY! Happy LIFE!
Did Anyone Ever Tell You, Just How Special You Are The Light that You Emit Might even Light a Star &#1062;&#1077;&#1085;&#1090;&#1088; &#1040;&#1084;&#1077;&#1088;&#1080;&#1082;&#1072;&#1085;&#1089;&#1082;&#1086;&#1075;&#1086;
2017 Aug 22
0
Windows pre-requisites for login with winbind?
Indeed!... you are correct... this does appear to be the kerberos issue uncovered by Rowlands pointing out that I should not need to be manually defining "kdc =", in my krb5.conf.... so with that resolved, I'm hoping we can also find the cause of my original problem. Incidentally, this was my solution to upgrading Samba on my 17.04 test server, I think moving to 17.10 will
2017 Aug 22
0
Windows pre-requisites for login with winbind?
You did not look right it should be there. https://packages.ubuntu.com/zesty/libpam-krb5 https://packages.ubuntu.com/artful/libpam-krb5 Check this folder to see if "winbind unix krb5" is there. ls /usr/share/pam-configs And run pam-auth-update --force to update the files. ! Note, krb5 has by default set : minium_uid=1000 Greetz, Louis > -----Oorspronkelijk bericht-----
2008 Mar 31
0
Action Mailer Problem with salted hash login generator
Hi! Guys I am using the salted hash login generator for login purpose. Now, I am working in friendship. When I want to request someone for friendship request via the action mailer I get following error: ===================================== Due to changes in ActionMailer, you need to provide the mailer_name along with the template name. render "user_mailer/signup" render :file
2017 Aug 23
4
Windows pre-requisites for login with winbind?
I have to confess here, that on trying again, to get the error... I restarted everything to ensure there were no errant messages, and now installing libpam-krb5 does not cause a problem... the users are assigned a kerberos ticket when logging in which is nice too... I must thank you and Rowland both, since I have learned a lot about how Kerberos works in this process, and debugged some issues