Can I now use a symbol to access the assigns hash?

I am reading an ancient(but good) tutorial on Test::Unit
It states that you can not use a symbol to access items in the assigns
hash and must use a string identifier. I would think that would have
been fixed at this point.

http://manuals.rubyonrails.com/read/chapter/28

Thanks in advance

On 3 Sep 2008, at 06:12, Ruby F. wrote:

I am reading an ancient(but good) tutorial on Test::Unit
It states that you can not use a symbol to access items in the assigns
hash and must use a string identifier. I would think that would have
been fixed at this point.

Peak Obsession

Should be a pretty easy experiment to verify this. Personally I
wouldn’t consider this a bug. Strings and symbols are generally not
interchangeable (only the params hash maintains that illusion - see
http://blog.hasmanythrough.com/2008/4/19/symbols-are-not-pretty-strings
for some of the reasons behind this)

Fred