This project is archived and is in readonly mode.

Changeset [72cb6f58be6590ac2590eea420a1b3ef175189b3] by Johan Sörensen

May 28th, 2009 @ 03:30 PM

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 http://github.com/rails/rails/co...

Committed by Johan Sörensen

  • M actionpack/lib/action_controller/base/chained/flash.rb
  • M actionpack/test/controller/flash_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>