Ruby: dynamically generate attribute_accessor
I'm trying to generate the attr_reader from a hash (with nested hash) so that it mirror the instance_variable creation automatically. here is what i have so far: data = {:@datetime => '2011-11...