Sha256: 4bf0d930c2fd9d83e941b7eaea7b8f04d5903a2f6d8b839021b9643a793f21a4
Contents?: true
Size: 880 Bytes
Versions: 1
Compression:
Stored size: 880 Bytes
Contents
# Be sure to restart your server when you modify this file. # Your secret key for verifying cookie session data integrity. # If you change this key, all old sessions will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. ActionController::Base.session = { :key => '_mywebsite_session', :secret => '72c0c548498f3ef64c79856dba7230d35984edc4f0c9d4a7550d3a668e6d41aee88208894897e70fba24f6840785106d6eb30ea8a7c207ff7819e63df4000326' } # 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") # ActionController::Base.session_store = :active_record_store # raise 'You NEED to run rake secret to generate a key for your sessions!!!!'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
base_rails_app-0.0.1 | lib/config/initializers/session_store.rb |