aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
blob: a869a21e2c1aa882caf791d314649d2d5aaa29e2 (plain) (blame)
1
2
3
4
5
6
7
8
# 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