On 11/27/07, James Adam <[EMAIL PROTECTED]> wrote: > On 11/27/07, Chad Woolley <[EMAIL PROTECTED]> wrote: > > This line: > > > > $LOAD_PATH.insert(application_lib_index + 1, lib_path) > > > > ...always inserts the current plugin's path immediately after the > > application lib entry. Since the plugins are processed > > alphabetically, this results in them being in reverse order on the > > final load path. > > I believe this is actually as it was intended - more recently loaded > plugins "take precidence" over those loaded earlier. However, we could > certainly debate whether or not that is a good idea.
I should clarify: If config.plugins is [:a, :b, :c], then the plugins will be loaded in that order - a, b, c - with 'c' being the "most recently loaded" plugin. -- * J * ~ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
