aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2012-08-15 01:22:50 -0400
committerPrem Sichanugrist <s@sikachu.com>2012-08-24 15:24:19 -0400
commit0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad (patch)
tree8308e637c41e0f0bed0ffdb6b1fe96b741825f53 /guides/code
parent2c571b3f0544a6457db4818e752f4cd4bacd48b4 (diff)
downloadrails-0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad.tar.gz
rails-0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad.tar.bz2
rails-0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad.zip
Extract ActiveRecord::SessionStore from Rails
This functionality will be available from gem `active_record-session_store` instead.
Diffstat (limited to 'guides/code')
-rw-r--r--guides/code/getting_started/config/initializers/session_store.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/guides/code/getting_started/config/initializers/session_store.rb b/guides/code/getting_started/config/initializers/session_store.rb
index 1a67af58b5..3b2ca93ab9 100644
--- a/guides/code/getting_started/config/initializers/session_store.rb
+++ b/guides/code/getting_started/config/initializers/session_store.rb
@@ -1,8 +1,3 @@
# Be sure to restart your server when you modify this file.
Blog::Application.config.session_store :cookie_store, key: '_blog_session'
-
-# Use the database for sessions instead of the cookie-based default,
-# which shouldn't be used to store highly confidential information
-# (create the session table with "rails generate session_migration")
-# Blog::Application.config.session_store :active_record_store