>> That's pretty much what I was looking for. The problem I'm having is
>> with a plugin in Rails. Once it runs, if code is executed, then  
>> changed
>> at all, I have to restart Rails. Default rails controllers update just
>> fine. They're probably using the remove_const(). But with my plugin I
>> want to have the same functionality...
> 
> Are you talking about the way Rails reloads classes in development
> mode?  You can enable this in your own classes using:
> 
>    class MyClass
>      include Reloadable
>    end
> 
> James Edward Gray II

That's another good solution. Thanks.

-- 
Posted via http://www.ruby-forum.com/.