From bc5ac778c0ba250a43d14f09b97e5a99eff8e03b Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 6 Mar 2012 17:57:12 -0200 Subject: [PATCH] Remove unused ActionController::SessionManagement --- actionpack/lib/action_controller.rb | 1 - actionpack/lib/action_controller/base.rb | 1 - .../lib/action_controller/metal/session_management.rb | 9 --------- railties/guides/source/api_app.textile | 1 - 4 files changed, 12 deletions(-) delete mode 100644 actionpack/lib/action_controller/metal/session_management.rb diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb index a0c54dbd84096..7c10fcbb8a170 100644 --- a/actionpack/lib/action_controller.rb +++ b/actionpack/lib/action_controller.rb @@ -31,7 +31,6 @@ module ActionController autoload :RequestForgeryProtection autoload :Rescue autoload :Responder - autoload :SessionManagement autoload :Streaming autoload :Testing autoload :UrlFor diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 3b82231b1510c..e20680ef35c42 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -192,7 +192,6 @@ def self.without_modules(*modules) Renderers::All, ConditionalGet, RackDelegation, - SessionManagement, Caching, MimeResponds, ImplicitRender, diff --git a/actionpack/lib/action_controller/metal/session_management.rb b/actionpack/lib/action_controller/metal/session_management.rb deleted file mode 100644 index 91d89ff9a4d54..0000000000000 --- a/actionpack/lib/action_controller/metal/session_management.rb +++ /dev/null @@ -1,9 +0,0 @@ -module ActionController #:nodoc: - module SessionManagement #:nodoc: - extend ActiveSupport::Concern - - module ClassMethods - - end - end -end diff --git a/railties/guides/source/api_app.textile b/railties/guides/source/api_app.textile index d51fcb2d5820b..f2d00c5768b16 100644 --- a/railties/guides/source/api_app.textile +++ b/railties/guides/source/api_app.textile @@ -270,7 +270,6 @@ Some common modules you might want to add: * +ActionController::Rendering+: Support for templating and +ActionView+. * +AbstractController::Layouts+: Support for layouts when rendering. * +ActionController::Renderers::XML+: Support for +render :xml+. -* +ActionController::SessionManagement+: Support for +session+. This requires a session middleware. * +ActionController::Cookies+: Support for +cookies+, which includes support for signed and encrypted cookies. This requires the cookie middleware. * +ActionController::Rescue+: Support for +rescue_from+.