#1262: Rack error calling [] in Faraday via the Octokit gem ------------------------------+--------------------------------------------- Reporter: sferik@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: github, octokit, rack, hubcap, 0.11-blocker ------------------------------+--------------------------------------------- Comment(by eloy.de.enige@…): Updated the gist to cover Hash in the naive patch as well. {{{ % ./miniruby -e 'h = {}; h.instance_variable_set(:@answer, 42); p h.instance_variable_get(:@answer); p h.dup.instance_variable_get(:@answer)' 42 42 % ./miniruby -e 'a = []; a.instance_variable_set(:@answer, 42); p a.instance_variable_get(:@answer); p a.dup.instance_variable_get(:@answer)' 42 42 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1262#comment:9> MacRuby <http://macruby.org/>