aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
blob: ddfe4ba1e1d36c2a06a86802f16609658ef47051 (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_value :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