Hi, I was the original reporter of the bug. After reviewing the patch and re-reading my original bug report I understand why it didn't work ... I stored the information from the request to session['http_lang'] and in the test I tried to retrieve it with session[:http_lang].
Now it makes me wonder if this was really a bug at all ... while the patch will make it work (since it converts the argument to [] and []= to a string thus effectively changing my call to session[:http_lang] to session['http_lang']) I can't remember if calling session[:symbol] and session['symbol'] is supposed to be the same ... Thank you people anyway now I can happily test my accept-language dependant controllers :) Do I have to close the bug myself once I agree with the resolution or will it be closed by someone else ? Jean > > Oh yes, and http://dev.rubyonrails.org/ticket/7372 is a bug of the > > TestSession with a subtle and nasty consequences :-) > > Could you explain the bug and the fix on that ticket? It'd make it > easier to connect the dots since they appear to address different > issues. > > Thanks, > jeremy > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
