I’m creating a PDF directory using PDF::Writer.
The directory has a few pieces.
- The photo directory is sorted by group
- The appendix is sorted by last name
I want the appendix to show the page number on which the person is
printed, but I don’t want to store that in the database.
I would like to do this:
contact.page_number = page_number
contacts << contact
but currently I’m doing this
tuple[:contact => contact, :page_number => page_number]
contacts << tuple