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