Topic: Simple Hash question
Hello to all,
I have a hash that is loaded with data from a table in my database,
using find(:all). It's pretty simple it has 3 key/value pairs (state/
city/population) and about 12 "elements".
What is the simplest way to print that information (only the states
and cities actually) out to the screen as an unordered list?
Or is there a better and simpler way than using hashes to achieve this?
Tank you very much!
Last edited by kronprinz311 (2008-05-30 09:36:57)