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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -