General

Profile

senny (Yves Senn)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

08/19/2015

11:43 AM Ruby Bug #11465 (Closed): `Array#flatten` calls `to_ary` on objects with `method_missing` even if `respond_to_missing?(:to_ary)` returns `false`.
I noticed this behavior while working on an issue reported on the Rails tracker: https://github.com/rails/rails/issues/21296
I put up a reproduction along with some details about the issue in a Gist: https://gist.github.com/senny/02ee93...
senny (Yves Senn)

07/30/2015

10:45 AM Ruby Bug #10969: public_send in combination with method_missing raises NameError instead of NoMethodError
Thank you Nobuyoshi Nakada and Koichi Sasada! 💛 senny (Yves Senn)

03/13/2015

08:18 AM Ruby Bug #10969 (Closed): public_send in combination with method_missing raises NameError instead of NoMethodError
While working on the Rails project, specifically this issue https://github.com/rails/rails/issues/19297 I discovered that `public_send` can raise a `NameError` instead of a `NoMethodError`.
Following is a minimal reproduction scenario...
senny (Yves Senn)

Also available in: Atom