From: 7stud -- Date: 2011-08-26T19:22:53+09:00 Subject: Re: How the access the values of this result Here's the relevant line: class Address [:firm_name, :address1, :address2, :city, :state, :zip5, :zip4].each do |a| attr_accessor a ...so as mentioned earlier, you can write: result.address2 -- Posted via http://www.ruby-forum.com/.