> True these where all hackish in a certain way: I've loaded the classes
> before forking, by setting a in a central model class before any db calls
> are made. Also the RAILS_ROOT will be useless after you've chdir()-ed to
> root.

Verdammt. Is there no way to make a daemon without doing all this
evil? And if not, we should create something like ActiveDaemon that'll
set it all up for someone in a predictable way.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to