I have a situation in an application I'm working on where I have a Booking model and a Guest model.
At first I associated the models so that a Booking belongs_to :guest and Guest has_many :bookings. This worked fine until I wanted to update a guest phone number for a single booking an not have it affect the other bookings for that customer. It seems what I need to do is make a duplicate of the Guest model for each booking so I can then update the values on the per booking bases but it was starting to get rather messy to maintain all the different copies of the guest model. Does anyone know of way to handle this situation nicely? Scott -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
