in reply to array of hashes

If you put your code in <code>...</code> tags, and tell us what errors you get, maybe we can help you.

See also: How (Not) To Ask A Question, Writeup Formatting Tips