Wes Gamble
2006-Mar-21 18:41 UTC
[Rails] Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my controller. Do I then need to restart my WEBrick server each time that I change the module? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
Alex Young
2006-Mar-21 18:44 UTC
[Rails] Do module source code changes require reboot of WEBrick?
Wes Gamble wrote:> Assume that I refactor some code into a module and "require it into" my > controller. > > Do I then need to restart my WEBrick server each time that I change the > module?Yes. Library code isn''t reloaded. -- Alex
Douglas Livingstone
2006-Mar-21 23:16 UTC
[Rails] Do module source code changes require reboot of WEBrick?
Is there a quick way to restart the Rails servlet in WEBrick, rather than restarting WEBrick itself? Douglas 2006/3/21, Alex Young <alex@blackkettle.org>:> Wes Gamble wrote: > > Assume that I refactor some code into a module and "require it into" my > > controller. > > > > Do I then need to restart my WEBrick server each time that I change the > > module? > Yes. Library code isn''t reloaded. > > -- > Alex > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Jesse Cai
2006-Mar-22 00:26 UTC
[Rails] Do module source code changes require reboot of WEBrick?
are you used RadRails? 2006/3/22, Douglas Livingstone <rampant@gmail.com>:> > Is there a quick way to restart the Rails servlet in WEBrick, rather > than restarting WEBrick itself? > > Douglas > > 2006/3/21, Alex Young <alex@blackkettle.org>: > > Wes Gamble wrote: > > > Assume that I refactor some code into a module and "require it into" > my > > > controller. > > > > > > Do I then need to restart my WEBrick server each time that I change > the > > > module? > > Yes. Library code isn''t reloaded. > > > > -- > > Alex > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Best Regards, Caiwangqin http://www.uuzone.com Mobile: +8613951787088 Tel: +86025-84818086 ext 233 Fax: +86025-84814993 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060322/c5a92503/attachment.html