config.load_paths should be frozen [#728 state:resolved]
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user