Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

require needs to return true or false. thank you Ryan "zenspider" Davis

  • Loading branch information...
commit 7c5cd40710228a027c26335a711b728e9322caac 1 parent 7286ecb
@tenderlove tenderlove authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 activesupport/lib/active_support/dependencies.rb
View
4 activesupport/lib/active_support/dependencies.rb
@@ -234,7 +234,9 @@ def load(file, *)
end
def require(file, *)
- load_dependency(file) { super }
+ result = false
+ load_dependency(file) { result = super }
+ result
end
# Mark the given constant as unloadable. Unloadable constants are removed each
Please sign in to comment.
Something went wrong with that request. Please try again.