Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Ruby Weekly News 2nd - 15th May 2005
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Markus, post: 4471465"] Ah ha! We're both right! It is a bug, and it does involve some of the most magicalistic duck typing I've yet seen. Rails (or action*, or...) changes the Array class! Observe: Under regular irb: (markus@lapdog) > irb irb(main):001:0> [].class.ancestors => [Array, Enumerable, Object, Kernel] But under script/console: (markus@lapdog) > script/console Loading development environment. irb(main):001:0> [].class.ancestors => [Array, Enumerable, Object, Base64::Deprecated, Base64, Kernel] So now the question is, how did the inserted Base64 goo break '===' for Array? --MarkusQ [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Ruby Weekly News 2nd - 15th May 2005
Top