ruby on rails - assigning a session hash with a method -


I am trying to set the value of a session hash by using a method like this:

The

method is the return value of the method only [hashish]

  omni = request.env ["omniauth.auth"] session ["devise.user_attributes"] = :  me  zero  get back. Can anyone explain why this is happening? Is there anything that I'm not supposed to understand about storing data in a session? 

The problem was that how I was trying to confirm my session was being set properly Yes. The code above worked ...


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -