aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt
blob: 9e32fb930e9f3ff4e5940f42428864338352a423 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, {
  :key => '_<%= app_name %>_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 "rake db:sessions:create")
# Rails.application.config.session_store :active_record_store