# 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 => '_sample_session', :secret => '891595a536e41820c7fe27f675317950d954aebb3927086a1f2158f6d666aa27e86340ee6cbac8b4b34f94604a4bbb8c2b2978a2950af83ec65bdd472c2f85a2' } # 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