aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-01-19 18:53:14 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-19 18:53:14 +0000
commit9cefd5ea0c21595d73762b5d60a760a3ed9fe8bf (patch)
tree96676beb8c5c6ea7c160b4083918f1a94ba849f9 /actionpack/lib/action_controller/base.rb
parent68fdfde0039f44019b6967a5565b9d390f747395 (diff)
downloadrails-9cefd5ea0c21595d73762b5d60a760a3ed9fe8bf.tar.gz
rails-9cefd5ea0c21595d73762b5d60a760a3ed9fe8bf.tar.bz2
rails-9cefd5ea0c21595d73762b5d60a760a3ed9fe8bf.zip
Deprecate ActionController::Base#session_enabled?
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rw-r--r--actionpack/lib/action_controller/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 7a380bd1fb..50b965ce4c 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -644,7 +644,7 @@ module ActionController #:nodoc:
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 = []