Permalink
Browse files

Minor tweak

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 25eaf06 commit ae690e8fe4b81c1465e6672080aa2140ef16212a @dhh dhh committed Jan 24, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/dependencies.rb
@@ -11,9 +11,9 @@ module Dependencies
def depend_on(file_name, swallow_load_errors = false)
if !loaded.include?(file_name)
+ loaded << file_name
begin
require_or_load(file_name)
- loaded << file_name
rescue LoadError
raise unless swallow_load_errors
end

0 comments on commit ae690e8

Please sign in to comment.