mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
require needs to return true or false. thank you Ryan "zenspider" Davis
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user