1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
Jean Boussier c1c96a0140 Explicitly fail on attempts to write into disabled sessions
Until now `config.session_store :disabled` simply silently
discard the session hash at the end of the request.

By explictly failing on writes, it can help discovering bugs
earlier.

Reads are still permitted.
2021-05-17 20:02:52 +02:00
..
minitest Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00
rails Explicitly fail on attempts to write into disabled sessions 2021-05-17 20:02:52 +02:00
rails.rb Add benchmark method that can be called from anywhere 2020-12-04 15:52:10 +03:00