From: Dick Davies Date: 2004-11-26T22:03:45+09:00 Subject: Re: rails is awesome * David Heinemeier Hansson [1139 10:39]: > >But it's the same fundamental problem, how often you poll for code > >changes. > >I remember Ara or Carl (on that rubygarden fastcgi page) had a trick > >that > >let your fastcgi classes detect when their *.rb file had changed and > >reload > >themselves, I'm assuming that might have benn involved here. > > That would be auto-reload.rb. Sorry, by mistake - I meant for fastcgi not modruby, should have typed 'detect when their *.fcgi file had changed', see: http://www.rubygarden.org/ruby?FCGIRubyWhyArentMyChangesDisplayed > 1) This doesn't work for removing methods. > 2) Your model class definitions have to be idempotent That's a small price to pay, so long as the docs mention to restart the webserver if things look screwy. Thanks for the headsup. -- That question was less stupid; though you asked it in a profoundly stupid way. - Prof. Farnsworth Rasputin :: Jack of All Trades - Master of Nuns