Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

SessionHash#delete not implemented

#2530

In file actionpack/lib/action_dispatch/middleware/session/abstract_store.rb SessionHash#delete is not implemented. Because of this session.delete(key) will not work if session is not loaded at the time.

The solution is to implement SessionHash#delete the same way SessionHash#[] and SessionHash#[]= are implemented.

Reported by Alexey Borzenkov · April 20th, 2009 @ 10:51 PM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Alexey Borzenkov
  2. Alexey Borzenkov
    Alexey Borzenkov
    • Tag changed from sessions to patch, sessions

    April 26th, 2009 @ 11:58 AM

  3. Alexey Borzenkov
    Alexey Borzenkov
    • Tag changed from patch, sessions to invalid, patch, sessions

    August 31st, 2009 @ 08:17 PM

  4. Ryan Bigg
    Ryan Bigg
    • State changed from new to duplicate
    • Tag changed from invalid, patch, sessions to patch, sessions

    April 14th, 2010 @ 05:18 AM