On Wed, Nov 4, 2009 at 6:47 PM, Trevor <
trevo...@gmail.com> wrote:
>
> My application registers extensions at runtime by doing a "require
> 'myextension.rb'" depending on the user's input. This registers a
> couple of new routes for the extension. Is there a way to unregister
> an extension during runtime which would delete it's routes?
No, you can't do that. (Not like that, you could modify the internal
state of the app which holds the routes, but you'll have to do it
manually for each route added for the extension.)
In any case, why would you do that? Something sounds horribly wrong :)
-foca