aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/flash.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fix the Flash middleware loading the session on every request (very ↵Rafael Mendonça França2012-06-051-3/+6
| | | | | | | | | dangerous especially with Rack::Cache), it should only be loaded when the flash method is called" This reverts commits e3069c64b2c5ddc7a5789b55b8efd4902d9e9729 and 2b2983d76fd11efc219273036a612f47cfaa5bfa. Reason: This add a non-backward compatible change in the way that flash works now (swept in every request).
* fix the Flash middleware loading the session on every request (very ↵Will Bryant2012-04-301-6/+3
| | | | dangerous especially with Rack::Cache), it should only be loaded when the flash method is called
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-161-6/+0
|
* Add some implementation docs. closes #3298. closes #2509.José Valim2011-10-121-0/+4
|
* Revert "Delegate to @flashes with 'delegate' instead of manually."Aaron Patterson2011-06-291-2/+24
| | | | This reverts commit 701e8554a8f69b0c81fe794cba985bfda804161b.
* Delegate to @flashes with 'delegate' instead of manually.Ben Orenstein2011-06-291-24/+2
|
* Use initialize_copy! to proper initialize now on clone.José Valim2011-04-191-15/+18
|
* Don't reuse a closed flash when using nowFlorent Piteau2011-04-201-1/+5
|
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-191-0/+1
|
* Be sure to not store the closed flash in the session.José Valim2011-04-191-16/+25
|
* Merge branch 'master' of github.com:rails/railsAaron Patterson2011-04-071-1/+1
|\ | | | | | | | | | | | | | | | | | | * 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close!
| * Cache flash nowSantiago Pastorino2011-04-071-1/+1
| |
| * Revert "Use freeze instead of close!"Santiago Pastorino2011-04-071-3/+9
| | | | | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.
| * Use freeze instead of close!Santiago Pastorino2011-04-061-9/+3
| |
* | getting the flash hash under testAaron Patterson2011-04-061-0/+4
| |
* | favor composition over inheritance, have FlashHash delegate to a HashAaron Patterson2011-04-061-7/+40
|/
* Add ClosedError message to the initializerSantiago Pastorino2011-04-061-5/+2
|
* raise if someone tries to modify the flash when it was already streamed back ↵Santiago Pastorino2011-04-051-1/+19
| | | | to the client or converted to HTTP headers
* Use common terminologyJoost Baaij2010-08-271-3/+3
|
* mention the alert and notice accessors on the flashJoost Baaij2010-08-271-0/+5
|
* Just reading flash messages should not create a session if one does not ↵José Valim2010-06-251-2/+9
| | | | exist yet.
* Restore flash sweepJeremy Kemper2010-06-051-1/+1
|
* Stop the flash middleware from forcibly loading sessions even if the user ↵wycats2010-06-041-2/+2
| | | | doesn't use sessions at all
* added convenience methods #notice and #alert to flash.nowMartin2010-05-151-0/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Flash into middlewareJoshua Peek2010-01-151-0/+174