TeTiRoss TeTiRoss - 1 year ago 58
Ruby Question

Get all data from session rails

During execution of the web app it stores values in the

I know that I can get value from it by
. But I need to get all the values from it, preferable in hash. Is there any way to do it? Thanks.

Answer Source

You can use a method to_hash