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

<%= app_const %>.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 "rails generate session_migration")
# <%= app_const %>.config.session_store :active_record_store