search for: pkmiec

Displaying 2 results from an estimated 2 matches for "pkmiec".

Did you mean: kmiec
2008 Apr 08
0
cron trigger problem
...worker is just, class TaskWorker < BackgrounDRb:MetaWorker set_worker_name :task_worker def run logger.info "begin" sleep 60 logger.info "end" end end After seeing a few begin''s and end''s in the log, I get the following exception: /Users/pkmiec/src/propertyadmin/trunk/vendor/plugins/backgroundrb/server/lib/cron_trigger.rb:119:in `parse'': wrong number of arguments (2 for 1) (ArgumentError) from /Users/pkmiec/src/propertyadmin/trunk/vendor/plugins/backgroundrb/server/lib/cron_trigger.rb:119:in `fire_after_time'' from /Use...
2011 Nov 04
0
Why is relative_root_url not used to automatically scope routes?
Rails has had the concept of the relative_root_url / RAILS_RELATIVE_ROOT_URL for some time. In Rails 3.x (perhaps earlier as well, but I can''t remember), the relative_root_url is only used to generate asset paths. I never understood why this relative_root_url isn''t also used to automatically scope all the routes? Instead I have to do it manually,