On 22 September 2012 17:32, Hassan Schroeder wrote:
On Sat, Sep 22, 2012 at 8:03 AM, Mauro wrote:

Yes I want to save in session but how can access the session?
user_session hash is empty.
session["foo"] = "bar"

Of course it's empty until you put something there :-)
Sorry but I don't undestand very well.
In https://github.com/plataformatec/devise is said that user_session
is an helper to access the session of the successfully signed in user.
So after signed in I expect to find something in user_session so that
I can change some of its values.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 7 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedSep 21, '12 at 10:58a
activeSep 22, '12 at 5:03p
posts7
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Mauro: 4 posts Hassan Schroeder: 3 posts

People

Translate

site design / logo © 2021 Grokbase