On 22 September 2012 16:33, Hassan Schroeder <hassan.schroe...@gmail.com> wrote:
> On Sat, Sep 22, 2012 at 7:05 AM, Mauro <mrsan...@gmail.com> wrote:
>
>>> The guest user signed in successfully, now its name is, for example,
>>> "guest" " guest".
>>> current_user.name is guest guest.
>>> After signed in I present a form with a name input field and a surname
>>> input field.
>>> Submitting the form I want to overwrite the name value with input fields 
>>> values.
>>> So if name and surname are: "newguest" "newguest" I want
>>> current_user.name have newguest newguest.
>>> There a way to do this?
>
> Save the new "names" in session or directly in a cookie.

Yes I want to save in session but how can access the session?
user_session hash is empty.

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


Reply via email to