Vendoring Rails 2.3.5

This commit is contained in:
Eric Allen 2009-12-07 12:42:42 -05:00
parent 3e83d19299
commit f8779795ce
943 changed files with 56503 additions and 61351 deletions

View file

@ -1,4 +1,5 @@
require 'action_controller/integration'
require 'active_support/test_case'
require 'action_controller'
# work around the at_exit hook in test/unit, which kills IRB
Test::Unit.run = true if Test::Unit.respond_to?(:run=)
@ -23,8 +24,7 @@ end
#reloads the environment
def reload!
puts "Reloading..."
dispatcher = ActionController::Dispatcher.new($stdout)
dispatcher.cleanup_application
dispatcher.reload_application
Dispatcher.cleanup_application
Dispatcher.reload_application
true
end