Skip to content

Commit

Permalink
No need for reloading any more
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jan 16, 2005
1 parent 954fd97 commit 92a2925
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions activesupport/lib/dependencies.rb
Expand Up @@ -26,12 +26,6 @@ def depend_on(file_name, swallow_load_errors = false)
def associate_with(file_name)
depend_on(file_name, true)
end

def reload
reloading = loaded.dup
clear
reloading.each { |file_name| depend_on(file_name, true) }
end

def clear
self.loaded = [ ]
Expand Down

0 comments on commit 92a2925

Please sign in to comment.