From: Derek Chesterfield Date: 2005-11-19T21:31:06+09:00 Subject: Re: Hash Value Assignment Bug? Your are assigning a key of :id to result, but accessing a key of :acl_id in the seconds assignment. It is not clear what your intentions are with :allow=>allow - is allow defined somewhere, or did you mean :allow=>result[:allow] ?? On 19 Nov 2005, at 11:55am, Nathaniel S. H. Brown wrote: >>> result = {"return_value"=>nil, "allow"=>"t", "id"=>"1000002"} > => {"allow"=>"t", "return_value"=>nil, "id"=>"1000002"} > >>> access = { :acl_id => result["acl_id"], :return_value => > result["return_value"], :allow => allow } > => {:return_value=>nil, :acl_id=>nil, :allow=>true}