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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/5baIsQ4YtRwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to