On Aug 23, 10:41 pm, CoolAJ86 <[email protected]> wrote:
> 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.
>
An activerecord object is a normal ruby object - it can have non
database store instance variables if you want.
Fred
> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---