search for: routing_modified

Displaying 1 result from an estimated 1 matches for "routing_modified".

2007 Mar 29
1
How to restart server programmatically?
...transaction error which rolls back the save. I wasn''t aware that after_save would rollback. That''s potentially useful but pretty much not right now. Here''s my code: def after_update system("#{RAILS_ROOT}/script/process/reaper -a graceful -d dispatch.fcgi") if routing_modified? end I''ve also looked at calling the Killer in "vendor/rails/railties/lib/commands/process/reaper" but can''t figure out how to pass it the correct parameters when just _requiring_ "commands/process/reaper" calls an instance of Killer. I''d really app...