Skip to content
Browse files

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

  • Loading branch information...
1 parent 0c84b6f commit 2dcdcf1552748f331bf6f6194ffddabd837bcac9 @josh josh committed Oct 30, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/initializer.rb
View
1 railties/lib/initializer.rb
@@ -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

0 comments on commit 2dcdcf1

Please sign in to comment.
Something went wrong with that request. Please try again.