aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2008-03-31 06:53:44 +0000
committerRick Olson <technoweenie@gmail.com>2008-03-31 06:53:44 +0000
commitcc2d6a0b93251fce06bab15c52dbe0a5d5a8342c (patch)
treeb3bb8eb90221ae4c83fea9a78238abb9c39e8641 /railties/CHANGELOG
parenta8ac5300e657f523fd27c54283b3fd27fb1afdd8 (diff)
downloadrails-cc2d6a0b93251fce06bab15c52dbe0a5d5a8342c.tar.gz
rails-cc2d6a0b93251fce06bab15c52dbe0a5d5a8342c.tar.bz2
rails-cc2d6a0b93251fce06bab15c52dbe0a5d5a8342c.zip
Allow files in plugins to be reloaded like the rest of the application. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r--railties/CHANGELOG15
1 files changed, 15 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 7076d58118..2143504b33 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,20 @@
*SVN*
+* Allow files in plugins to be reloaded like the rest of the application. [rick]
+
+ Enables or disables plugin reloading.
+
+ config.reload_plugins = true
+
+ You can get around this setting per plugin.
+ If #reload_plugins? == false (DEFAULT), add this to your plugin's init.rb to make it reloadable:
+
+ Dependencies.load_once_paths.delete lib_path
+
+ If #reload_plugins? == true, add this to your plugin's init.rb to only load it once:
+
+ Dependencies.load_once_paths << lib_path
+
* Small tweak to allow plugins to specify gem dependencies. [rick]
# OLD open_id_authentication plugin init.rb