Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Deprecate ActionController::Base#session_enabled?

  • Loading branch information...
commit 9cefd5ea0c21595d73762b5d60a760a3ed9fe8bf 1 parent 68fdfde
@lifo lifo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/base.rb
View
2  actionpack/lib/action_controller/base.rb
@@ -644,7 +644,7 @@ def controller_path
end
def session_enabled?
- request.session_options && request.session_options[:disabled] != false
+ ActiveSupport::Deprecation.warn("Sessions are now lazy loaded. So if you don't access them, consider them disabled.", caller)
end
self.view_paths = []
Please sign in to comment.
Something went wrong with that request. Please try again.