From: "marcandre (Marc-Andre Lafortune)" Date: 2013-02-07T02:33:38+09:00 Subject: [ruby-core:51938] [ruby-trunk - Bug #7773] Calling send("attribute=", value) returns nil instead of value Issue #7773 has been updated by marcandre (Marc-Andre Lafortune). I meant to assign it to myself... in any case, it's fixed with r39121. ---------------------------------------- Bug #7773: Calling send("attribute=", value) returns nil instead of value https://bugs.ruby-lang.org/issues/7773#change-35937 Author: gaffneyc (Chris Gaffney) Status: Closed Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: core Target version: 2.0.0 ruby -v: 2.0.0-rc1 When calling an attribute writer created using either attr_accessor or attr_writer via send nil is returned from the send call instead of the new value. I've attached a test case that is failing on current head (51794) and 2.0.0-rc1. I've done a git bisect and it looks like commit 37228 (db1e99cd) is the first offending commit. I've been able to reproduce on OS X 10.8 and Ubuntu 12.04. -- http://bugs.ruby-lang.org/