diff options
author | Johan Sörensen <johan@johansorensen.com> | 2009-05-28 09:30:49 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-05-28 09:30:49 -0500 |
commit | 72cb6f58be6590ac2590eea420a1b3ef175189b3 (patch) | |
tree | 5cd58771714d8faab77dff5c99c75c95389e39d2 /actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | |
parent | 0349278f3da9f7f532330cf295eed35ede3bae66 (diff) | |
download | rails-72cb6f58be6590ac2590eea420a1b3ef175189b3.tar.gz rails-72cb6f58be6590ac2590eea420a1b3ef175189b3.tar.bz2 rails-72cb6f58be6590ac2590eea420a1b3ef175189b3.zip |
The FlashHash and friends causes a lot of needless session storing, when we know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb')
0 files changed, 0 insertions, 0 deletions