This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
locate_plugins()
protected
The locate_plugins
method uses each class in config.plugin_locators to find the set of all plugins available to this Rails application.
# File railties/lib/rails/plugin/loader.rb, line 107
def locate_plugins
configuration.plugin_locators.map do |locator|
locator.new(initializer).plugins
end.flatten
# TODO: sorting based on config.plugins
end