attribute reload_plugins
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Enables or disables plugin reloading. You can get around this setting per plugin. If reload_plugins? is false, add this to your plugin’s init.rb to make it reloadable:
ActiveSupport::Dependencies.autoload_once_paths.delete lib_path
If reload_plugins? is true, add this to your plugin’s init.rb to only load it once:
ActiveSupport::Dependencies.autoload_once_paths << lib_path