From: Mark Thomas Date: 2009-05-07T20:15:04+09:00 Subject: Re: How to break this down for use in a graph? > Please help!  :-(  If I need to structure my query differently, I can. > Ruby is so beautiful and I know I am missing some easy way to do this > and for the life of me I can't figure it out on my own. It would help if you show your model or at least 'p @results'. Then show what you want as output. For me at least, code will be easier to decipher than what you mean by things like "tied back to the rep".