On Feb 5, 7:02 am, arunmehta <[email protected]> wrote: > On Feb 5, 1:09 am, "Robert Pankowecki (rupert)" > > <[email protected]> wrote: > > How about deleting them in some after filter ? > > > session.keys.each do |k| > > session.delete(k) if session[k].nil? > > end > > Thanks, Robert, but... > session is not a regular hash, and does not seem to have the delete > function as above. Another suggestion, please?
Why not try to avoid putting nil in the first place? Fred > > Warmly, > Arun -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

