Rails + Sessions: How do I test that my sessions are being stored in the active record store? -
right i'm having issue sessions (or believe). original problem can found here: rails + https: filter chain halted :ensure_proper_protocol rendered or redirected . think redirect https http , vice versa somehow losing session.
however, have line in config/initializers/session_store.rb:
mysite::application.config.session_store :active_record_store
so it's weird gets lost in process of redirecting. how check session variables store being stored in database , not on server? there commands run in console?
Comments
Post a Comment