Erwin
2012-Nov-13 11:16 UTC
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
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.