Mercurial > zeropaste
view config/initializers/session_store.rb @ 254:bcca41003e84
Use postgres 'cuz mysql is shit.
- utf8 isn't utf8 (hint: utf8mb4)
- index key too loooooooooooong
Nope.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 15 Oct 2013 01:47:19 +0900 |
parents | 1e2e999f586a |
children | 68eb23b52864 |
line wrap: on
line source
# Be sure to restart your server when you modify this file. Zeropaste::Application.config.session_store :cookie_store, :key => "_zeropaste_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") # Zeropaste::Application.config.session_store :active_record_store