[Rails] Re: Reload Everything (lib/plugins/vendor/the lot)

2008-09-09 Thread Ingmar
Alex, It might be a name-convention issue... If your module/class is called 'ActiveExt' then the corresponding .rb file should be named active_ext.rb (without the underline, it corresponds to the class 'Activeext' without the capital E) Try to either rename your model or your files accordingly.

[Rails] Re: Reload Everything (lib/plugins/vendor/the lot)

2008-09-08 Thread Frederick Cheung
On 9 Sep 2008, at 00:20, Alex Moore <[EMAIL PROTECTED]> wrote: > > Ingmar: Thankyou for your reply, I still haven't managed to resolve > the > issue > > My init.rb file contains the following: > require 'activeext.rb' > require 'activeext_model.rb' > require 'activeext_controller.rb' > requ

[Rails] Re: Reload Everything (lib/plugins/vendor/the lot)

2008-09-08 Thread Alex Moore
Ingmar: Thankyou for your reply, I still haven't managed to resolve the issue My init.rb file contains the following: require 'activeext.rb' require 'activeext_model.rb' require 'activeext_controller.rb' require 'activeext_view.rb' Dependencies.explicitly_unloadable_constants = 'ActiveExt' Depe

[Rails] Re: Reload Everything (lib/plugins/vendor/the lot)

2008-09-08 Thread Ingmar
I ran into the same problem; turned out that I also had to add the module which contains my plugin's classes to ActiveSupport::Dependencies.explicitly_unloadable_constants So if you have your plugin structured like this init.rb lib/myplugin.rb lib/myplugin/*.rb you should add the following line