diff options
author | Rafael Barbolo <barbolo@gmail.com> | 2018-04-23 14:50:59 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2018-04-23 13:50:59 -0400 |
commit | 80cbf19453bb3fe22e8d038a9631b8436320788b (patch) | |
tree | 0df0d2f1630bc531dde405f1e5f5c1fd2916fdc5 /actionpack/test/controller/live_stream_test.rb | |
parent | cde7c30781e45dab23ff6be8d5b83b3c67344b64 (diff) | |
download | rails-80cbf19453bb3fe22e8d038a9631b8436320788b.tar.gz rails-80cbf19453bb3fe22e8d038a9631b8436320788b.tar.bz2 rails-80cbf19453bb3fe22e8d038a9631b8436320788b.zip |
Remove key from session by using session.delete (#31685)
* Remove key from session by using session.delete
You are not deleting a key from session when you assign nil to that key.
* Update guides on how to destroy a user session
In this commit, the user id is removed from session and controller's variables related to the user are nullified.
[Rafael Mendonça França + Rafael Barbolo]
Diffstat (limited to 'actionpack/test/controller/live_stream_test.rb')
0 files changed, 0 insertions, 0 deletions