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

This commit is contained in:
Aaron Patterson
2011-08-23 16:55:11 -07:00
parent d7dc94a24b
commit b359628f18

View File

@@ -234,7 +234,9 @@ module ActiveSupport #:nodoc:
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