similar to: Worker logging in test output.

Displaying 20 results from an estimated 100 matches similar to: "Worker logging in test output."

2006 Jul 24
6
error_messages_for not working
I have the following code and I am not able to get it working. The error message is not coming on the top, it is just getting displayed on a different page if I dont have the rescue block commented at the bottom. Model: user.rb require "digest/sha1" class User < ActiveRecord::Base validates_presence_of :eaddress, :fname, :passwd, :pcode, :country, :day, :year, :month, :gender,
2006 Jan 16
4
Creating two records at once
Hi there, I have a User model and a Profile model. A user has_one profile, and a profile belongs_to a user. The profile model contains a user_id column as the foreign key. The problem comes in when I want a user to register. In the user_controller I have a method that creates the user. I also want the profile model to be filled in with the appropriate user_id foreign key (I don''t care
2008 Jan 04
1
Updates and Fixes on Trunk
Hi, I am pushing some updates and fixes that addresses much of the issues that we talked about since last couple of days. 1. Use configuration option :debug_log: false to disable backgroundrb_debug.log. 2. As shown below, use lazy_load option to disable aggressive loading of models ( and somewhat stupid too). 3. MiddleMan.delete_worker(:worker => :foo_worker) will now ABORT the worker, it
2008 Jan 10
8
Worker suicide
I have a worker which wants to delete itself after it finishes its work- how can it do that? Best Regards, Danny Burkes
2006 Jul 06
1
Form not inserting data into database
I have a form to register a user. The issue I am having is the fact that it only populates login, hashed_password and created_at fields. DB table: create table users ( id int not null auto_increment, login varchar(100) default null, hashed_password char(40) default null, email varchar(255) default null, salt varchar(255) default
2008 Jan 29
5
Authoritative Documentation
I''ve been using backgroundrb for... about an hour now. I must say, I''m impressed. But I''m a bit stumped on where to find the "official" documentation. There''s an API online at backgroundrb.rubyforge.org, but I don''t see the methods available for MiddleMan, etc. Right now, I''m trying to figure out how to get a list of all
2008 Mar 20
2
can''t call any methods on workers
Hi, I''m a long time backgroundrb user, still stuck using the very ancient original version from Ezra (not even Ezra''s 2.0 version, I''m using the one that didn''t really have a version number). The 2.0 version did very little but crash for me. Anyway I finally got some time set aside to try out this new version you all have been developing.
2006 May 17
4
NOOB: Representing linked objects in one form
Given two models: User :name :email :address_id # foreign key Address :line_1 :line_2 :city etc. I want to have a form allowing a user to register, in which she''d enter an address as well, but how do I go about combining both objects into the one form? I''m new to this and following along with the Agile Rails book from the Pragmatic Programmers, but it
2008 Jan 09
0
BackgrounDRb 1.0.1 release available now
Hi Folks, I am glad to announce a 1.0.1 release of BackgrounDRb library. It has numerous fixes and some nice feature updates, so please upgrade. Code: http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/ Updates and Fixes: * Fixed issue with Mysql Lost connections * Message debugging can be disabled now with ''debug_log'' option in configuration file( :debug_log: false)
2008 Mar 25
1
extending bdrb / running multiple servers
Hi, Thanks for the help getting the new backgroundrb working, things are working fabulously now. I have two questions: 1) I have a few basic methods I need available on all my workers in order to communicate properly with my application... it seems to make the most sense right now to subclass BackgrounDRb::MetaWorker, or make a mixin module, because I''m actually extending some
2008 Aug 21
11
spam on this list..
Is there anyway we can get rid of this crap on this list? It''s getting old fast. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to
2008 Oct 08
10
The puppet equivalent of mkdir -p
Hi all, I''d like to add a several directories and I can''t seem to do it with a single "file" directive. Say /home/jeff exists and I want to add /home/jeff/src/my/dir/path I tried: file { "/home/jeff/src/my/dir/path": path => "/home/jeff/src/my/dir/path", mode => 0755, owner => jeff, group => jeff, ensure =>
2009 Jul 22
1
puppet class syntax error
I''m in the process of setting up our puppet environment, and am creating dummy classes so that I can test/use our node classification script, however my dummy classes are throwing the following error. puppetmasterd[3908]: Could not parse for environment production: Syntax error at ''Stage_cis2'' at /etc/puppet/manifests/classes/ Stage_cis2.pp:2 As you see, the actual
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a client and server component... node base_node { include syslog_ng::client }} node app_node inherits base_node { } node syslog_server inherits base_node { include syslog_ng::server } ... because I want the client portion, syslog-ng in this case to be installed on everything. However, the server node also has a
2009 Jan 19
1
Re: creating a custom type to replace a line in a file
On Sun, Jan 18, 2009 at 7:57 PM, chakkerz <chakkerz@gmail.com> wrote: > > Awesome > > Thanks for the Template idea Teyo, that looks exactly like what i > want. > > So i created my templte sshd_config.erb > > Port 22 > Protocol 2 > ListenAddress <%= listenaddress %> > #ListenAddress :: > > SyslogFacility AUTHPRIV > PermitRootLogin no >
2010 Jun 11
0
[LLVMdev] thinking about timing-test-driven scheduler
On Wed, 2010-06-09 at 17:30 +0200, orthochronous wrote: > Hi, > > I've been thinking about how to implement a framework for attempting > instruction scheduling of small blocks of code by using (GA/simulated > annealing/etc) controlled timing-test-evaluations of various > orderings. This sounds interesting. > (I'm particularly interested small-ish numerical inner
2010 Jun 09
2
[LLVMdev] thinking about timing-test-driven scheduler
Hi, I've been thinking about how to implement a framework for attempting instruction scheduling of small blocks of code by using (GA/simulated annealing/etc) controlled timing-test-evaluations of various orderings. (I'm particularly interested small-ish numerical inner loop code in low-power CPUs like Atom and various ARMs where there CPU doesn't have the ability to
2002 Oct 16
1
FIXED: error in make pkg-...
Sorry, spoke too quickly! The problem was caused by my editing the MkRules file with an editor that replaces tabs with spaces. Make evidently requires that all lines start with a tab (see http://www.delorie.com/djgpp/v2faq/faq22_17.html). Perhaps worth warning windoze users like myself of such perils in readme.packages or somewhere similar! Now I have a new problem, but it looks fixable.
2004 Jan 20
0
..You can be a ~Se-xxMachine~
adventurous burgundian rook elkhart butterball concave chaplin dustbin trout plane pedestal cinquefoil ely indigene choir curvilinear scald zing bramble braid cobol composition tripartite bust torpedo transverse marvin crestfallen troika molybdate aflame righteous aden diffusive lenin wilcox downright pittsburgh inflammable smear cathy orinoco
2002 May 03
0
copy or save to metafile from graphics device shrinks plots (PR#1507)
Full_Name: Drew Tyre Version: 1.4.0 OS: Win 2000 Submission from: (NULL) (140.253.74.225) When creating a rather complex plot, the resulting figures 'shrink' when either copied to the clipboard or saved as a metafile using the GUI menu. Also saving as postscript or pdf causes the same problem, as does printing the figure directly from the graphics window. Only the figure areas shrink,