1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Missing something from #475

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-01-15 16:46:17 +00:00
parent 38e695037c
commit d8805988a1

View file

@ -32,6 +32,7 @@ module Dependencies
old_loaded.each do |file_name|
begin
silence_warnings { load("#{file_name}.rb") } unless loaded.include?(file_name)
loaded << file_name
rescue LoadError
# The association didn't reside in its own file, so we assume it was required by other means
end