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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs