I’m clunking around with this problem. I want to return an array of
values from each record in my database table.
I have this so far: @t = Table.find(:all)
@t.each do |k|
k.attributes
end
the method attributes returns a hash and attribute_names returns an
array or the keys. Is there a method that returns an array of the
values?