config.load_paths should be frozen [#728 state:resolved]

This commit is contained in:
Joshua Peek 2008-10-30 15:52:12 -05:00
parent 0c84b6f9ed
commit 2dcdcf1552

@ -243,6 +243,7 @@ def set_autoload_paths
end
# Freeze the arrays so future modifications will fail rather than do nothing mysteriously
configuration.load_paths.freeze
configuration.load_once_paths.freeze
end