method

add_plugin_load_paths

rails latest stable - Class: Rails::Plugin::Loader

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

add_plugin_load_paths()
public

Adds the load paths for every plugin into the $LOAD_PATH. Plugin load paths are added after the application’s lib directory, to ensure that an application can always override code within a plugin.

Plugin load paths are also added to Dependencies.load_paths, and Dependencies.load_once_paths.