session_store.rb
480 Bytes
# Author - Igor Portela - igorportela.com | Copyright(c) 2013. All rights reserved.
#
# Author Igor Amorim - www.igoramorim.com
#
Gtaaas::Application.config.session_store :cookie_store, key: '_gtaaas_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")
# Gtaaas::Application.config.session_store :active_record_store