Hey,
I too have felt the pain of having to restart the server when working
on the modules in plugins.
However it's easily avoided by putting a require_dependency
'my_module' just before the include MyModule call. It's a small
amount of pain that I only have to bear during development so it's
okay with me.
I'm not saying this patch is without merit - just that you can work
around the issue without having to tinker with the way that rails
loads stuff now.
Regards,
Trevor
--
Trevor Squires
http://somethinglearned.com
On 7-Jun-06, at 8:14 PM, Julian 'Julik' Tarkhanov wrote:
On 8-jun-2006, at 1:31, Blair Zajac wrote:
There's a scenario with the projects I'm working on that could use
reloadable modules, instead of just reloadable classes.
Ticket and patch with test suite changes are at:
http://dev.rubyonrails.org/ticket/5329
I am now building an app that assembles functionality from modules
and this is instrumental - I'm sick of restarting the server. Would
love to see it in Rails.
--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core