similar to: Help wanted for Browsergame

Displaying 20 results from an estimated 1000 matches similar to: "Help wanted for Browsergame"

2006 Aug 06
1
ActiveRecord: determine if attribute has changed since save
Hello there, i need to determine whether an attribute of my model has changed since the last time it was saved. how can i do this? greets -- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 05
1
[PATCH] --detach on win32
Hello there! I made a little patch for scripts/backgroundrb/start to make detach work on win32! It needs win32-process to work (it''s a lib from the Win32 Utils project on rubyforge: http://rubyforge.org/projects/win32utils/). To install it, just issue a "gem install win32-process --include-dependencies". If the script detects the :detach option (and a win32 platform), it tries
2006 Jul 25
1
bgdrb hangup
Hi, i had a little problem a few minutes ago. somehow the backgroundrb process got mad and consumed all the cpu power available, i think it got an endless loop. i dont know why, no exceptions were thrown. could this be an issue of bgdrb or ruby or rails (as i load the rails environment) -- Michael Siebert <info at siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im
2006 Aug 07
1
:load_rails
if CONFIG[''load_rails''] ActiveRecord::Base.allow_concurrency = true ActiveRecord::Base.establish_connection(YAML.load(ERB.new(IO.read ("#{RAILS_ROOT}/#{CONFIG[''database_yml'']}")).result)[CONFIG[''environment'']]) end if i read the code right, this option doesnt really load rails. wouldnt it be better (for those who rely on the
2006 Aug 01
2
making backgroundrb cron
Hello, i need to have some jobs scheduled in the background and executed at specific times. I wanted to make a worker who does that - and it works a little bit - but i had an enlightment... why not make bgdrb itself play that role? i mean, the MiddleMan has already everything needed! a timer thread, currently used only for deleting old workers and the workers itself. since im not familiar with
2006 Aug 12
0
Permission denied [solved]
many thanks Michael 2006/8/10, Michael Siebert <info@siebert-wd.de>: > > chmod -r a+rwx tmp > should work > > > 2006/8/10, Roberto Felloni <roberto.felloni@gmail.com>: > > > Hi to all. > I''m a newbye, and this is my first contact with list. > > I have installed ruby and rails. > My ruby local home page works, but development.log tell me
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like ActionView cant find my template. same code works as a rake task. here my worker: class StatusMailWorker < BackgrounDRb::Rails repeat 1.minutes # <-- hehe! def do_work(args) [...blah...] NotificationMailer.create_daily_report(users, rep, items) end end end its throwing the following error: No
2006 Aug 10
1
IMPORTANT: Rails update 1.1.6
for those who didn''t read it somewhere else: the bug being adresseb by 1.1.5was not completely fixed, so now theres another security update: http://feeds.feedburner.com/~r/RidingRails/~3/10954980/rails-1-1-6-backports-and-full-disclosure anybody using engines, dont update since this update will break the plugin, more info for fixing the bug in this case also in the blog. -- Michael
2006 Jul 24
1
require file from /lib in a worker
Hello, i need to require a file located in /lib from a worker class, but when i try to start the backgroundrb server, i get something like d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- ./lib/office_thumnail_generator.rb (MissingSourceFile) i tried it with and without lib, with RAILS_ROOT, nothing worked, altough the paths look good
2006 Jul 31
1
[PATCH-SUGGESTION] autostarting workers
Hi there, as i stated before in my talk with Ben Johnson, I hacked a little bit and here it is - autostarting jobs. I think someone (eh... Ezra) should review it and check to see if i made any mistakes. Also i dont have the possibility to test it on other-than-Windows systems, but since the calling process works just the same, it should do well... Now the neccesary evil, the documentation... If
2006 Aug 14
1
Testing CRUD/Rest Controllers
I have a few simple controllers doing plain, simple crud in a standard way. now it''s not very DRY to write a funtcional test for each controller, since they are all doing the same (apart from a few variable names, but that could be easily inflected or so). is there a way to do this? e.g. does inheritance work with tests, so i define a base test first, inherit my other tests and add a few
2006 Aug 07
0
reply-to email header
why does the mail server not set the reply-to header? gmail ignores the list-* stuff and when i click reply it replies to whoever wrote the mail... that ... (dontwannasaythatword) is it a rubyforge thing or where do i have to complain? greets -- Michael Siebert <info at siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part --------------
2006 Jul 20
0
delete workers after use
Hello folks, does backgroundrb delete workers who exited do_work()? i experienced it doesnt (and that freaked me because i didnt know that for several hours). is there a way to let the middleman or so delete workers who did their job imediately after they''re done? if not, i coud think of that as a nice improvement. greetz -- Michael Siebert <info at siebert-wd.de>
2006 Jul 17
1
acts_as_tree and :include
hello there, i have a model that uses acts_as_tree: >class GbEntry < ActiveRecord::Base > acts_as_tree :order => ''created_at DESC'' >end and i want it to paginate, including all children to avoid unnecessary db queries: > @gb_entry_pages, @gb_entries = > paginate :gb_entries, :per_page => 15, :order => ''created_at DESC'',
2006 Aug 23
5
Singleton-like Worker
Hello there, I need a Worker Class to be Singleton-like, that means there must be at maximum one Instance at a time. When a new Request is made to create another worker of this type, it should return and wait for the other instance to be destroyed. what i need to do: i have a worker who needs to do sth with java and openoffice, and it seems when i have more tha one worker simultaneously,
2006 Sep 14
1
Status of your worker pool
On Sep 14, 2006, at 10:25 AM, Michael Siebert wrote: > Hey Ezra, > how is the status of your worker pool? i need some thing like this > ASAP and i can''t get David Lemstra''s QueueWorker to work, so: whats > the status? do you have some "beta" lying around on your hard > drive? I dont want to spend my time on that if you''re coming up >
2006 Aug 16
6
Photo Albums?
Hello all, Can anyone recommend any free(ish) Ruby photo album components? Preferably something with a user structure built in. Cheers. -- Posted via http://www.ruby-forum.com/.
2006 Aug 07
8
Syntax Problem
In an *.rhtml, why do I need to add <% for product in @products %> in order that I may call an <img class="list-image" src="<%= product.img_url %>"/>. Is there not another way to skip the "for product" line? I really dont want to include it. I tried @products = product but it does not work. Can anyone help shed light on this matter? -- Posted via
2006 Aug 10
2
Permission denied
Hi to all. I''m a newbye, and this is my first contact with list. I have installed ruby and rails. My ruby local home page works, but development.log tell me "Permission denied - /var/www/html/rubyapp/../config/../tmp/sessions//ruby_sess.e2677250ed380e4c " what''s happen? I think permission rights are ok (simlink towards public are root|root with 777). Someone can help
2006 Aug 07
3
repeat_every doesn''t tie in with first_run...
Ezra, Sorry for inundating the list. In using the autostart, repeat_every, and first_run, I noticed a behaviour I didn''t expect. I would like the job to run starting at 2am, and then every 24 hours. So I set first_run to Time.now.beginning_of_day + 2.hours, and repeat_every to 24.hours. The problem is if backgroundrb starts up at 6am (due to a code change or server bump), then the