On Wednesday 20 May 2009, Mislav Marohnić wrote: > On Wed, May 20, 2009 at 12:32, Michael Schuerig <[email protected]> wrote: > > Is there a way to find out which (gem) plugins are loaded without > > repeating work the initializer has already done? > > The problem is that the current Initializer instance isn't saved > anywhere. > > If you change your environment.rb like this: > > Init = Rails::Initializer.run ...
That's not what I want, although I deliberately didn't say what I'm trying to do. I'm currently hacking on the rails/info controller to make it modular. I'd like to add a hook for plugins/gems as well as the application to add their own diagnostic information to that controller. There are, of course, several packages for introspecting a rails app already, but I think there is room for a simple, very lightweight standard hook for extensions to add information. Particularly, a hook that is always available, not dependent on additional extensions. More on this latter. Michael -- Michael Schuerig mailto:[email protected] http://www.schuerig.de/michael/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
