rails--rails/guides
Rafael Barbolo 80cbf19453 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]
2018-04-23 13:50:59 -04:00
..
assets Refactor guides javascripts 2018-04-23 04:30:47 +09:00
bug_report_templates Update bug report templates 2018-04-10 04:32:42 +03:00
rails_guides Cleanup credits related code as it is removed now in PR #32429 2018-04-03 15:19:57 +05:30
source Remove key from session by using session.delete (#31685) 2018-04-23 13:50:59 -04:00
.document
CHANGELOG.md Remove changelog header for unreleased version 2018-03-13 15:20:57 -04:00
Rakefile Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
rails_guides.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00