lib/action_controller.rb in actionpack-2.3.2 vs lib/action_controller.rb in actionpack-2.3.3

- old
+ new

@@ -29,24 +29,19 @@ $:.unshift activesupport_path require 'active_support' end end -begin - gem 'rack', '~> 1.0.0' - require 'rack' -rescue Gem::LoadError - require 'action_controller/vendor/rack-1.0/rack' -end +gem 'rack', '~> 1.0.0' +require 'rack' module ActionController # TODO: Review explicit to see if they will automatically be handled by # the initilizer if they are really needed. def self.load_all! [Base, CGIHandler, CgiRequest, Request, Response, Http::Headers, UrlRewriter, UrlWriter] end - autoload :AbstractRequest, 'action_controller/request' autoload :Base, 'action_controller/base' autoload :Benchmarking, 'action_controller/benchmarking' autoload :Caching, 'action_controller/caching' autoload :Cookies, 'action_controller/cookies' autoload :Dispatcher, 'action_controller/dispatcher'