Feature #7754

Plugin priority

Added by Luis Serrano Aranda almost 7 years ago. Updated about 1 year ago.

Status:ClosedStart date:2011-03-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid

Description

There any way to specify the load order of plugins?

History

#1 Updated by Etienne Massip almost 7 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Could you please ask this question in help forum ?

This tracker is intended for bugs, well defined feature needs or patches exclusively.

As of the answer, Google told me you can by adding a line in your config/environment.rb.

E.g.

config.plugins = [ :exception_notification, :ssl_requirement, :all ]

where :all is a wildcard meaning "every other plugin".

Looking at code of Rails::Plugin#<=>, default sort order seems to be by plugin name.

#2 Updated by Jaap de Haan about 1 year ago

Slightly related to #6324, #23131

Also available in: Atom PDF