Explicitly fail on attempts to write into disabled sessions by byroot · Pull Request #42231 · rails/rails

Until now config.session_store :disabled simply silently discard the session hash at the end of the request. By explicitly failing on writes, it can help discovering bugs earlier. Reads are still p...