From: Eric Hodel Date: 2006-07-03T17:25:05+09:00 Subject: Re: how to unset a hash member? On Jul 3, 2006, at 12:51 AM, aa bb wrote: > :o that easy? thanks. :) i feel silly now. > > how to do this with ruby on rails session? because it didn't work. > > session['a'] = 123 > session.delete('a') <<< error > > i can do this though: > session.model.data.delete('a') <<< it worked > > there must be a better way? You'll have to ask on the Rails mailing list. http://lists.rubyonrails.org -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com