This project is archived and is in readonly mode.

#2530 ✓duplicate
Alexey Borzenkov

SessionHash#delete not implemented

Reported by Alexey Borzenkov | April 20th, 2009 @ 10:51 PM | in 2.x

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.

Comments and changes to this ticket

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=""></a>