diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-01-06 17:43:53 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-06 17:43:58 -0800 |
commit | dabf20d54b42a2bbe004ceba29c26da147314a46 (patch) | |
tree | dfcdd64813a311c672306e0c6f1e0de2912fa597 /actionpack/lib | |
parent | 3027f9f918a1fda5c66aa3e7bb4af1f8064b10ba (diff) | |
parent | 8736dd324117af90e0bf120cfd2074b06ccb45eb (diff) | |
download | rails-dabf20d54b42a2bbe004ceba29c26da147314a46.tar.gz rails-dabf20d54b42a2bbe004ceba29c26da147314a46.tar.bz2 rails-dabf20d54b42a2bbe004ceba29c26da147314a46.zip |
Sync 'rails/rails/master'
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/test_case.rb | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb index 98fb490d64..8c022e5625 100644 --- a/actionpack/lib/action_controller.rb +++ b/actionpack/lib/action_controller.rb @@ -31,7 +31,7 @@ rescue LoadError end end -gem 'rack', '~> 0.4.0' +gem 'rack', '>= 0.9.0' require 'rack' module ActionController diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 1093a9bc04..e22114195c 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1350,7 +1350,7 @@ module ActionController #:nodoc: end Base.class_eval do - [ Flash, Filters, Layout, Benchmarking, Rescue, MimeResponds, Helpers, + [ Filters, Layout, Benchmarking, Rescue, Flash, MimeResponds, Helpers, Cookies, Caching, Verification, Streaming, SessionManagement, HttpAuthentication::Basic::ControllerMethods, RecordIdentifier, RequestForgeryProtection, Translation diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb index 1a9ef983a5..65839256aa 100644 --- a/actionpack/lib/action_view/test_case.rb +++ b/actionpack/lib/action_view/test_case.rb @@ -1,3 +1,5 @@ +require 'active_support/test_case' + module ActionView class Base alias_method :initialize_without_template_tracking, :initialize |