Grouped output


Suppose I have a table that looks like this:

center name email
Health Jon [email protected]
Health Bob [email protected]
Admin Jane [email protected]
Admin Jill [email protected]

I would like the output to look like this:

Jon [email protected]
Bob [email protected]
Jane [email protected]
Jill [email protected]

when i using cold fusion, this was easy via a tag called cfoutput.
when i was using java, this was difficult, and i had to put some extra
conditionals in the table. is there an easy way to do this in rails?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs