method
order_plugins
order_plugins(plugin_a, plugin_b)
protected
Hide source
# File railties/lib/rails/plugin/loader.rb, line 127 def order_plugins(plugin_a, plugin_b) if !explicit_plugin_loading_order? plugin_a <=> plugin_b else if !explicitly_enabled?(plugin_a) && !explicitly_enabled?(plugin_b) plugin_a <=> plugin_b else effective_order_of(plugin_a) <=> effective_order_of(plugin_b) end end end