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:
parent
38e695037c
commit
d8805988a1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue