how can I get the active_record_store :domain option in my controller

18 views
Skip to first unread message

Erwin

unread,
Nov 13, 2012, 6:16:02 AM11/13/12
to rubyonra...@googlegroups.com

I initialized it :

Rails.application.config.session_store :active_record_store, :key => '_yoogroop_session', :domain => {
  production: 'yoogroop.com', 
  development: 'lvh.me'}.fetch(Rails.env.to_param.to_sym, :all)

and I need to get the :domain value in my controller

cookies.delete(:login, :domain => # initialized :domain value in activer_record_store 1)

any clue ?

thanks
Reply all
Reply to author
Forward
0 new messages